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=d64zrxS09YKqAEtFf13XJMhqT9aN6ZZ7XDbWAR1WC/Q=; b=PkYzJPJtQUXjrCbonkutqM5CZzOZv8zo1MJ/FSGNDjEZaV+h91Q4qhBE4O62SQ3v1G uaqUZP/RNij0HFpYi9eb5588WEs1tF0ekwOnVlYn+dxCYOcbK/AeoqfdIIImGjxvrMXl F2G2s1pvB2/gnNzTAPUOFjl7BVlukNqrqJJqGhnAAC8HJadadCg+BQYSuC52ABJPo2jl 1FmNpLZuK6xGlWuZKsO1qqZKlxdU2KKT+rkh0CkM4NvpL8RNDN1QRMgKNA1jZJav2ITn 3gfuPDEnmHrC4g/rIPZdTtuBwc3L1xyBvuUCpxk7V7DEOE0zuMKpJKeJ0XLQk3M/T2Bz unLw== X-Received: by 10.180.96.161 with SMTP id dt1mr47141724wib.1.1411038520090; Thu, 18 Sep 2014 04:08:40 -0700 (PDT) From: Riccardo Lucchese To: geda-user AT delorie DOT com Cc: Riccardo Lucchese Subject: [geda-user] [PATCH 35/43] Remove deprecated use of GTK_CLASS_TYPE() Date: Thu, 18 Sep 2014 13:06:30 +0200 Message-Id: <1411038398-10231-36-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_CLASS_TYPE is deprecated and should not be used in newly-written code. Use G_TYPE_FROM_CLASS() instead." --- gattrib/src/gtksheet_2_2.c | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/gattrib/src/gtksheet_2_2.c b/gattrib/src/gtksheet_2_2.c index caef340..cc4b7fa 100644 --- a/gattrib/src/gtksheet_2_2.c +++ b/gattrib/src/gtksheet_2_2.c @@ -747,7 +747,7 @@ gtk_sheet_class_init (GtkSheetClass * klass) sheet_signals[SELECT_ROW] = gtk_signal_new ("select_row", GTK_RUN_LAST, - GTK_CLASS_TYPE(object_class), + G_TYPE_FROM_CLASS(object_class), GTK_SIGNAL_OFFSET (GtkSheetClass, select_row), gtkextra_VOID__INT, GTK_TYPE_NONE, 1, GTK_TYPE_INT); @@ -755,7 +755,7 @@ gtk_sheet_class_init (GtkSheetClass * klass) sheet_signals[SELECT_COLUMN] = gtk_signal_new ("select_column", GTK_RUN_LAST, - GTK_CLASS_TYPE(object_class), + G_TYPE_FROM_CLASS(object_class), GTK_SIGNAL_OFFSET (GtkSheetClass, select_column), gtkextra_VOID__INT, GTK_TYPE_NONE, 1, GTK_TYPE_INT); @@ -763,7 +763,7 @@ gtk_sheet_class_init (GtkSheetClass * klass) sheet_signals[SELECT_RANGE] = gtk_signal_new ("select_range", GTK_RUN_LAST, - GTK_CLASS_TYPE(object_class), + G_TYPE_FROM_CLASS(object_class), GTK_SIGNAL_OFFSET (GtkSheetClass, select_range), gtkextra_VOID__BOXED, GTK_TYPE_NONE, 1, GTK_TYPE_SHEET_RANGE); @@ -771,7 +771,7 @@ gtk_sheet_class_init (GtkSheetClass * klass) sheet_signals[CLIP_RANGE] = gtk_signal_new ("clip_range", GTK_RUN_LAST, - GTK_CLASS_TYPE(object_class), + G_TYPE_FROM_CLASS(object_class), GTK_SIGNAL_OFFSET (GtkSheetClass, clip_range), gtkextra_VOID__BOXED, GTK_TYPE_NONE, 1, GTK_TYPE_SHEET_RANGE); @@ -779,21 +779,21 @@ gtk_sheet_class_init (GtkSheetClass * klass) sheet_signals[RESIZE_RANGE] = gtk_signal_new ("resize_range", GTK_RUN_LAST, - GTK_CLASS_TYPE(object_class), + G_TYPE_FROM_CLASS(object_class), GTK_SIGNAL_OFFSET (GtkSheetClass, resize_range), gtkextra_VOID__BOXED_BOXED, GTK_TYPE_NONE, 2, GTK_TYPE_SHEET_RANGE, GTK_TYPE_SHEET_RANGE); sheet_signals[MOVE_RANGE] = gtk_signal_new ("move_range", GTK_RUN_LAST, - GTK_CLASS_TYPE(object_class), + G_TYPE_FROM_CLASS(object_class), GTK_SIGNAL_OFFSET (GtkSheetClass, move_range), gtkextra_VOID__BOXED_BOXED, GTK_TYPE_NONE, 2, GTK_TYPE_SHEET_RANGE, GTK_TYPE_SHEET_RANGE); sheet_signals[TRAVERSE] = gtk_signal_new ("traverse", GTK_RUN_LAST, - GTK_CLASS_TYPE(object_class), + G_TYPE_FROM_CLASS(object_class), GTK_SIGNAL_OFFSET (GtkSheetClass, traverse), gtkextra_BOOLEAN__INT_INT_POINTER_POINTER, GTK_TYPE_BOOL, 4, GTK_TYPE_INT, GTK_TYPE_INT, @@ -802,7 +802,7 @@ gtk_sheet_class_init (GtkSheetClass * klass) sheet_signals[DEACTIVATE] = gtk_signal_new ("deactivate", GTK_RUN_LAST, - GTK_CLASS_TYPE(object_class), + G_TYPE_FROM_CLASS(object_class), GTK_SIGNAL_OFFSET (GtkSheetClass, deactivate), gtkextra_BOOLEAN__INT_INT, GTK_TYPE_BOOL, 2, GTK_TYPE_INT, GTK_TYPE_INT); @@ -810,7 +810,7 @@ gtk_sheet_class_init (GtkSheetClass * klass) sheet_signals[ACTIVATE] = gtk_signal_new ("activate", GTK_RUN_LAST, - GTK_CLASS_TYPE(object_class), + G_TYPE_FROM_CLASS(object_class), GTK_SIGNAL_OFFSET (GtkSheetClass, activate), gtkextra_BOOLEAN__INT_INT, GTK_TYPE_BOOL, 2, GTK_TYPE_INT, GTK_TYPE_INT); @@ -818,7 +818,7 @@ gtk_sheet_class_init (GtkSheetClass * klass) sheet_signals[SET_CELL] = gtk_signal_new ("set_cell", GTK_RUN_LAST, - GTK_CLASS_TYPE(object_class), + G_TYPE_FROM_CLASS(object_class), GTK_SIGNAL_OFFSET (GtkSheetClass, set_cell), gtkextra_VOID__INT_INT, GTK_TYPE_NONE, 2, GTK_TYPE_INT, GTK_TYPE_INT); @@ -826,7 +826,7 @@ gtk_sheet_class_init (GtkSheetClass * klass) sheet_signals[CLEAR_CELL] = gtk_signal_new ("clear_cell", GTK_RUN_LAST, - GTK_CLASS_TYPE(object_class), + G_TYPE_FROM_CLASS(object_class), GTK_SIGNAL_OFFSET (GtkSheetClass, clear_cell), gtkextra_VOID__INT_INT, GTK_TYPE_NONE, 2, GTK_TYPE_INT, GTK_TYPE_INT); @@ -834,7 +834,7 @@ gtk_sheet_class_init (GtkSheetClass * klass) sheet_signals[CHANGED] = gtk_signal_new ("changed", GTK_RUN_LAST, - GTK_CLASS_TYPE(object_class), + G_TYPE_FROM_CLASS(object_class), GTK_SIGNAL_OFFSET (GtkSheetClass, changed), gtkextra_VOID__INT_INT, GTK_TYPE_NONE, 2, GTK_TYPE_INT, GTK_TYPE_INT); @@ -842,7 +842,7 @@ gtk_sheet_class_init (GtkSheetClass * klass) sheet_signals[NEW_COL_WIDTH] = gtk_signal_new ("new_column_width", GTK_RUN_LAST, - GTK_CLASS_TYPE(object_class), + G_TYPE_FROM_CLASS(object_class), GTK_SIGNAL_OFFSET (GtkSheetClass, changed), gtkextra_VOID__INT_INT, GTK_TYPE_NONE, 2, GTK_TYPE_INT, GTK_TYPE_INT); @@ -850,7 +850,7 @@ gtk_sheet_class_init (GtkSheetClass * klass) sheet_signals[NEW_ROW_HEIGHT] = gtk_signal_new ("new_row_height", GTK_RUN_LAST, - GTK_CLASS_TYPE(object_class), + G_TYPE_FROM_CLASS(object_class), GTK_SIGNAL_OFFSET (GtkSheetClass, changed), gtkextra_VOID__INT_INT, GTK_TYPE_NONE, 2, GTK_TYPE_INT, GTK_TYPE_INT); @@ -860,7 +860,7 @@ gtk_sheet_class_init (GtkSheetClass * klass) widget_class->set_scroll_adjustments_signal = gtk_signal_new ("set_scroll_adjustments", GTK_RUN_LAST, - GTK_CLASS_TYPE(object_class), + G_TYPE_FROM_CLASS(object_class), GTK_SIGNAL_OFFSET (GtkSheetClass, set_scroll_adjustments), gtkextra_VOID__OBJECT_OBJECT, GTK_TYPE_NONE, 2, GTK_TYPE_ADJUSTMENT, GTK_TYPE_ADJUSTMENT); -- 2.1.0