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=TGmZoyouPyfK1LngrEZIwTtJT+EAgiWaaNfoQT7lRFE=; b=nKmpcIhX374QcXZXpbSXdFJBLNsqqWuuocD+E/ys1KNmcRYu4RGapPnThzomP4Ky00 rjjlNBJmb+V0pNe+qi9v+lmVScD8mFAs7ngYzdguM7Z3UPFbdgtfLKBus0hX1I9OOtKc U9NZk5G82Hc9gOHnbyRzV0K3gB4FjZcyL0/FP9kMx1K+PQBQ2xwXMBYLJkReWn/yyjs/ eWzSxw9fe3uci2MUJGnDr3juS3fBjSgsxLmE/xKkD8p9lJ/s4+1/7mUDdipTY3EIxdfw W5g/6PkeEi1Gk7mHADTV6bgkl6OCwV2EfT0chcZoYMXn9OfwgIWHIz54FUciedoEI0HI AIdg== X-Received: by 10.180.83.39 with SMTP id n7mr27816261wiy.0.1411038507238; Thu, 18 Sep 2014 04:08:27 -0700 (PDT) From: Riccardo Lucchese To: geda-user AT delorie DOT com Cc: Riccardo Lucchese Subject: [geda-user] [PATCH 31/43] Remove deprecated use of gtk_signal_emit_by_name() Date: Thu, 18 Sep 2014 13:06:26 +0200 Message-Id: <1411038398-10231-32-git-send-email-riccardo.lucchese@gmail.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1411038398-10231-1-git-send-email-riccardo.lucchese@gmail.com> References: <1411038398-10231-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_signal_emit_by_name is deprecated and should not be used in newly-written code. Use g_signal_emit_by_name() instead." --- gattrib/src/gtksheet_2_2.c | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/gattrib/src/gtksheet_2_2.c b/gattrib/src/gtksheet_2_2.c index 51c2e3f..e6e97d8 100644 --- a/gattrib/src/gtksheet_2_2.c +++ b/gattrib/src/gtksheet_2_2.c @@ -1360,10 +1360,10 @@ gtk_sheet_thaw(GtkSheet *sheet) sheet->old_hadjustment = -1.; if(sheet->hadjustment) - gtk_signal_emit_by_name (GTK_OBJECT (sheet->hadjustment), + g_signal_emit_by_name (GTK_OBJECT (sheet->hadjustment), "value_changed"); if(sheet->vadjustment) - gtk_signal_emit_by_name (GTK_OBJECT (sheet->vadjustment), + g_signal_emit_by_name (GTK_OBJECT (sheet->vadjustment), "value_changed"); if(sheet->state == GTK_STATE_NORMAL) @@ -1394,7 +1394,7 @@ gtk_sheet_set_row_titles_width(GtkSheet *sheet, guint width) sheet->old_hadjustment = -1.; if(sheet->hadjustment) - gtk_signal_emit_by_name (GTK_OBJECT (sheet->hadjustment), + g_signal_emit_by_name (GTK_OBJECT (sheet->hadjustment), "value_changed"); size_allocate_global_button(sheet); } @@ -1413,7 +1413,7 @@ gtk_sheet_set_column_titles_height(GtkSheet *sheet, guint height) sheet->old_vadjustment = -1.; if(sheet->vadjustment) - gtk_signal_emit_by_name (GTK_OBJECT (sheet->vadjustment), + g_signal_emit_by_name (GTK_OBJECT (sheet->vadjustment), "value_changed"); size_allocate_global_button(sheet); } @@ -1448,7 +1448,7 @@ gtk_sheet_show_column_titles(GtkSheet *sheet) sheet->old_vadjustment = -1.; if(sheet->vadjustment) - gtk_signal_emit_by_name (GTK_OBJECT (sheet->vadjustment), + g_signal_emit_by_name (GTK_OBJECT (sheet->vadjustment), "value_changed"); size_allocate_global_button(sheet); } @@ -1483,7 +1483,7 @@ gtk_sheet_show_row_titles(GtkSheet *sheet) sheet->old_hadjustment = -1.; if(sheet->hadjustment) - gtk_signal_emit_by_name (GTK_OBJECT (sheet->hadjustment), + g_signal_emit_by_name (GTK_OBJECT (sheet->hadjustment), "value_changed"); size_allocate_global_button(sheet); } @@ -1516,7 +1516,7 @@ gtk_sheet_hide_column_titles(GtkSheet *sheet) sheet->old_vadjustment = -1.; if(sheet->vadjustment) - gtk_signal_emit_by_name (GTK_OBJECT (sheet->vadjustment), + g_signal_emit_by_name (GTK_OBJECT (sheet->vadjustment), "value_changed"); } @@ -1547,7 +1547,7 @@ gtk_sheet_hide_row_titles(GtkSheet *sheet) sheet->old_hadjustment = -1.; if(sheet->hadjustment) - gtk_signal_emit_by_name (GTK_OBJECT (sheet->hadjustment), + g_signal_emit_by_name (GTK_OBJECT (sheet->hadjustment), "value_changed"); } @@ -1858,7 +1858,7 @@ gtk_sheet_moveto (GtkSheet * sheet, sheet->vadjustment->value = y; sheet->old_vadjustment = -1.; - gtk_signal_emit_by_name (GTK_OBJECT (sheet->vadjustment), + g_signal_emit_by_name (GTK_OBJECT (sheet->vadjustment), "value_changed"); } @@ -1893,7 +1893,7 @@ gtk_sheet_moveto (GtkSheet * sheet, sheet->hadjustment->value = x; sheet->old_vadjustment = -1.; - gtk_signal_emit_by_name (GTK_OBJECT (sheet->hadjustment), + g_signal_emit_by_name (GTK_OBJECT (sheet->hadjustment), "value_changed"); } @@ -5074,7 +5074,7 @@ gtk_sheet_button_release (GtkWidget * widget, gtk_sheet_set_column_width (sheet, sheet->drag_cell.col, new_column_width (sheet, sheet->drag_cell.col, &x)); sheet->old_hadjustment = -1.; - gtk_signal_emit_by_name (GTK_OBJECT (sheet->hadjustment), "value_changed"); + g_signal_emit_by_name (GTK_OBJECT (sheet->hadjustment), "value_changed"); return TRUE; } @@ -5087,7 +5087,7 @@ gtk_sheet_button_release (GtkWidget * widget, gtk_sheet_set_row_height (sheet, sheet->drag_cell.row, new_row_height (sheet, sheet->drag_cell.row, &y)); sheet->old_vadjustment = -1.; - gtk_signal_emit_by_name (GTK_OBJECT (sheet->vadjustment), "value_changed"); + g_signal_emit_by_name (GTK_OBJECT (sheet->vadjustment), "value_changed"); return TRUE; } @@ -6547,7 +6547,7 @@ adjust_scrollbars (GtkSheet * sheet) "value_changed"); } */ - gtk_signal_emit_by_name (GTK_OBJECT(sheet->vadjustment), "changed"); + g_signal_emit_by_name (GTK_OBJECT(sheet->vadjustment), "changed"); } @@ -6566,7 +6566,7 @@ adjust_scrollbars (GtkSheet * sheet) "value_changed"); } */ - gtk_signal_emit_by_name (GTK_OBJECT(sheet->hadjustment), "changed"); + g_signal_emit_by_name (GTK_OBJECT(sheet->hadjustment), "changed"); } /* @@ -7052,7 +7052,7 @@ gtk_sheet_add_column(GtkSheet *sheet, guint ncols) sheet->old_hadjustment = -1.; if(!GTK_SHEET_IS_FROZEN(sheet) && sheet->hadjustment) - gtk_signal_emit_by_name (GTK_OBJECT (sheet->hadjustment), + g_signal_emit_by_name (GTK_OBJECT (sheet->hadjustment), "value_changed"); } @@ -7073,7 +7073,7 @@ gtk_sheet_add_row(GtkSheet *sheet, guint nrows) sheet->old_vadjustment = -1.; if(!GTK_SHEET_IS_FROZEN(sheet) && sheet->vadjustment) - gtk_signal_emit_by_name (GTK_OBJECT (sheet->vadjustment), + g_signal_emit_by_name (GTK_OBJECT (sheet->vadjustment), "value_changed"); } @@ -7109,7 +7109,7 @@ gtk_sheet_insert_rows(GtkSheet *sheet, guint row, guint nrows) sheet->old_vadjustment = -1.; if(!GTK_SHEET_IS_FROZEN(sheet) && sheet->vadjustment) - gtk_signal_emit_by_name (GTK_OBJECT (sheet->vadjustment), + g_signal_emit_by_name (GTK_OBJECT (sheet->vadjustment), "value_changed"); } @@ -7146,7 +7146,7 @@ gtk_sheet_insert_columns(GtkSheet *sheet, guint col, guint ncols) sheet->old_hadjustment = -1.; if(!GTK_SHEET_IS_FROZEN(sheet) && sheet->hadjustment) - gtk_signal_emit_by_name (GTK_OBJECT (sheet->hadjustment), + g_signal_emit_by_name (GTK_OBJECT (sheet->hadjustment), "value_changed"); } @@ -7213,7 +7213,7 @@ gtk_sheet_delete_rows(GtkSheet *sheet, guint row, guint nrows) sheet->old_vadjustment = -1.; if(!GTK_SHEET_IS_FROZEN(sheet) && sheet->vadjustment) - gtk_signal_emit_by_name (GTK_OBJECT (sheet->vadjustment), + g_signal_emit_by_name (GTK_OBJECT (sheet->vadjustment), "value_changed"); } @@ -7280,7 +7280,7 @@ gtk_sheet_delete_columns(GtkSheet *sheet, guint col, guint ncols) sheet->old_hadjustment = -1.; if(!GTK_SHEET_IS_FROZEN(sheet) && sheet->hadjustment) - gtk_signal_emit_by_name (GTK_OBJECT (sheet->hadjustment), + g_signal_emit_by_name (GTK_OBJECT (sheet->hadjustment), "value_changed"); } -- 2.1.0