From ea481767c4e3ec19136a5b61ad46f244a9a5ffa7 Mon Sep 17 00:00:00 2001 From: monsta Date: Tue, 22 Nov 2016 15:49:16 +0300 Subject: move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build option and require mate-panel >= 1.17 --- gsearchtool/libmateui-deprecated/gsearchtool-entry.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'gsearchtool/libmateui-deprecated') diff --git a/gsearchtool/libmateui-deprecated/gsearchtool-entry.c b/gsearchtool/libmateui-deprecated/gsearchtool-entry.c index 4916865a..daa3c9aa 100644 --- a/gsearchtool/libmateui-deprecated/gsearchtool-entry.c +++ b/gsearchtool/libmateui-deprecated/gsearchtool-entry.c @@ -111,20 +111,12 @@ gsearch_history_entry_get_property (GObject *object, } static void -#if GTK_CHECK_VERSION (3, 0, 0) gsearch_history_entry_destroy (GtkWidget *object) -#else -gsearch_history_entry_destroy (GtkObject *object) -#endif { gsearch_history_entry_set_enable_completion (GSEARCH_HISTORY_ENTRY (object), FALSE); -#if GTK_CHECK_VERSION (3, 0, 0) GTK_WIDGET_CLASS (gsearch_history_entry_parent_class)->destroy (object); -#else - GTK_OBJECT_CLASS (gsearch_history_entry_parent_class)->destroy (object); -#endif } static void @@ -149,20 +141,12 @@ static void gsearch_history_entry_class_init (GsearchHistoryEntryClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); -#if GTK_CHECK_VERSION (3, 0, 0) GtkWidgetClass *gtkwidget_class = GTK_WIDGET_CLASS (klass); -#else - GtkObjectClass *gtkobject_class = GTK_OBJECT_CLASS (klass); -#endif object_class->set_property = gsearch_history_entry_set_property; object_class->get_property = gsearch_history_entry_get_property; object_class->finalize = gsearch_history_entry_finalize; -#if GTK_CHECK_VERSION (3, 0, 0) gtkwidget_class->destroy = gsearch_history_entry_destroy; -#else - gtkobject_class->destroy = gsearch_history_entry_destroy; -#endif g_object_class_install_property (object_class, PROP_HISTORY_ID, -- cgit v1.2.1