From c951215db340629ace5b03785b3559a04d72fffb Mon Sep 17 00:00:00 2001 From: infirit Date: Tue, 27 May 2014 16:34:24 +0200 Subject: Replace GtkObject with GObject also for gtk2 --- libslab/app-resizer.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'libslab/app-resizer.c') diff --git a/libslab/app-resizer.c b/libslab/app-resizer.c index f1e34629..a77183b3 100644 --- a/libslab/app-resizer.c +++ b/libslab/app-resizer.c @@ -26,10 +26,6 @@ static void app_resizer_class_init (AppResizerClass *); static void app_resizer_init (AppResizer *); -#if !GTK_CHECK_VERSION (3, 0, 0) -static void app_resizer_destroy (GtkObject *); -#endif - static void app_resizer_size_allocate (GtkWidget * resizer, GtkAllocation * allocation); #if GTK_CHECK_VERSION (3, 0, 0) static gboolean app_resizer_paint_window (GtkWidget * widget, cairo_t * cr, AppShellData * app_data); @@ -45,10 +41,6 @@ app_resizer_class_init (AppResizerClass * klass) { GtkWidgetClass *widget_class; -#if !GTK_CHECK_VERSION (3, 0, 0) - ((GtkObjectClass *) klass)->destroy = app_resizer_destroy; -#endif - widget_class = GTK_WIDGET_CLASS (klass); widget_class->size_allocate = app_resizer_size_allocate; } @@ -306,13 +298,6 @@ app_resizer_new (GtkVBox * child, gint initial_num_columns, gboolean homogeneous return GTK_WIDGET (widget); } -#if !GTK_CHECK_VERSION (3, 0, 0) -static void -app_resizer_destroy (GtkObject * obj) -{ -} -#endif - void app_resizer_set_vadjustment_value (GtkWidget * widget, gdouble value) { -- cgit v1.2.1