summaryrefslogtreecommitdiff
path: root/gsearchtool/libmateui-deprecated
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-11-22 15:49:16 +0300
committermonsta <[email protected]>2016-11-22 15:49:16 +0300
commitea481767c4e3ec19136a5b61ad46f244a9a5ffa7 (patch)
treebbcceb1d2a0be587e7127109f57e41e9e9b43f98 /gsearchtool/libmateui-deprecated
parent8f9a34f003061d7c5e6cfe8a8cb64ec6e98d7c4a (diff)
downloadmate-utils-ea481767c4e3ec19136a5b61ad46f244a9a5ffa7.tar.bz2
mate-utils-ea481767c4e3ec19136a5b61ad46f244a9a5ffa7.tar.xz
move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build option
and require mate-panel >= 1.17
Diffstat (limited to 'gsearchtool/libmateui-deprecated')
-rw-r--r--gsearchtool/libmateui-deprecated/gsearchtool-entry.c16
1 files changed, 0 insertions, 16 deletions
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,