X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Z6qaP9lIXjEkvFr9jUSsznCTDR8iEnssqMbUSMkPZvc=; b=bMmDxyTPNncrp3C+hYfWozndiUtCHldkNeus5AjjdUrRlOmc09ZACTAoaj+h8amt6O QcaTmRF8EidXw4M6twooSURx0rQJJBtYnKgydygRofNlzN0t7ETiGDhpNmQdjEpboTjt GxnsNL6Pmdl0/eDarIPF6ZaStA4umAvib/dSM5yibgOQ+qLHIKrtK9lXSwHscm8RIuFU ZZzIqr1iE+HQK61ddnnfB1u/WEu01jWaMjKsZVccOECL97mv5aOsf5ECOYkupJlRjQIG asiBzkbQ4loLZ9fGfEqI0cgVYQS1DD1CaeYfwM6gVSgyAn1dOpv7XTZzLzQ3r06xQz2d zHzg== X-Received: by 10.194.205.103 with SMTP id lf7mr4322842wjc.134.1413317883060; Tue, 14 Oct 2014 13:18:03 -0700 (PDT) From: Riccardo Lucchese To: geda-user AT delorie DOT com Cc: paubert AT iram DOT es, Riccardo Lucchese Subject: [geda-user] [PATCH V2 09/43] Remove deprecated use of gtk_timeout_add() Date: Tue, 14 Oct 2014 22:17:01 +0200 Message-Id: <1413317855-10673-10-git-send-email-riccardo.lucchese@gmail.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1413317855-10673-1-git-send-email-riccardo.lucchese@gmail.com> References: <1413317855-10673-1-git-send-email-riccardo DOT lucchese AT gmail DOT com> Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Verbatim from Gtk+ 2 Reference Manual: "gtk_timeout_add has been deprecated since version 2.4 and should not be used in newly-written code. Use g_timeout_add() instead." --- gattrib/src/gtksheet_2_2.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gattrib/src/gtksheet_2_2.c b/gattrib/src/gtksheet_2_2.c index 92fbffe..5a1edc3 100644 --- a/gattrib/src/gtksheet_2_2.c +++ b/gattrib/src/gtksheet_2_2.c @@ -2122,7 +2122,7 @@ gtk_sheet_clip_range (GtkSheet *sheet, const GtkSheetRange *range) sheet->clip_range=*range; sheet->interval=0; - sheet->clip_timer=gtk_timeout_add(TIMEOUT_FLASH, gtk_sheet_flash, sheet); + sheet->clip_timer=g_timeout_add(TIMEOUT_FLASH, gtk_sheet_flash, sheet); gtk_signal_emit(GTK_OBJECT(sheet), sheet_signals[CLIP_RANGE], &sheet->clip_range); @@ -4858,7 +4858,7 @@ gtk_sheet_button_press (GtkWidget * widget, GDK_BUTTON_RELEASE_MASK, NULL, NULL, event->time); gtk_grab_add(GTK_WIDGET(sheet)); - sheet->timer=gtk_timeout_add(TIMEOUT_SCROLL, gtk_sheet_scroll, sheet); + sheet->timer=g_timeout_add(TIMEOUT_SCROLL, gtk_sheet_scroll, sheet); GTK_WIDGET_UNSET_FLAGS(sheet->sheet_entry, GTK_HAS_FOCUS); GTK_WIDGET_SET_FLAGS(GTK_SHEET(sheet), GTK_HAS_FOCUS); gtk_widget_grab_focus(GTK_WIDGET(sheet)); @@ -4924,7 +4924,7 @@ gtk_sheet_button_press (GtkWidget * widget, if(sheet->column[column].is_sensitive){; gtk_sheet_click_cell(sheet, -1, column, &veto); gtk_grab_add(GTK_WIDGET(sheet)); - sheet->timer=gtk_timeout_add(TIMEOUT_SCROLL, gtk_sheet_scroll, sheet); + sheet->timer=g_timeout_add(TIMEOUT_SCROLL, gtk_sheet_scroll, sheet); GTK_WIDGET_UNSET_FLAGS(sheet->sheet_entry, GTK_HAS_FOCUS); GTK_WIDGET_SET_FLAGS(GTK_SHEET(sheet), GTK_HAS_FOCUS); gtk_widget_grab_focus(GTK_WIDGET(sheet)); @@ -4938,7 +4938,7 @@ gtk_sheet_button_press (GtkWidget * widget, if(sheet->row[row].is_sensitive){ gtk_sheet_click_cell(sheet, row, -1, &veto); gtk_grab_add(GTK_WIDGET(sheet)); - sheet->timer=gtk_timeout_add(TIMEOUT_SCROLL, gtk_sheet_scroll, sheet); + sheet->timer=g_timeout_add(TIMEOUT_SCROLL, gtk_sheet_scroll, sheet); GTK_WIDGET_UNSET_FLAGS(sheet->sheet_entry, GTK_HAS_FOCUS); GTK_WIDGET_SET_FLAGS(GTK_SHEET(sheet), GTK_HAS_FOCUS); gtk_widget_grab_focus(GTK_WIDGET(sheet)); -- 2.1.0