summaryrefslogtreecommitdiff
path: root/cut-n-paste/toolbar-editor/egg-editable-toolbar.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-05-17 16:35:11 +0200
committerinfirit <[email protected]>2014-07-24 18:05:54 +0200
commitb66a04441ee5a416d8faf4c27ca9f2f82d0a6473 (patch)
treef9b29a1fa2bf38381b483c6a571848c049f66686 /cut-n-paste/toolbar-editor/egg-editable-toolbar.c
parent4c3cd50809b82b3d166db21f69d9fe11caf493f8 (diff)
downloadeom-b66a04441ee5a416d8faf4c27ca9f2f82d0a6473.tar.bz2
eom-b66a04441ee5a416d8faf4c27ca9f2f82d0a6473.tar.xz
Drop support for gtk+ < 2.24
Diffstat (limited to 'cut-n-paste/toolbar-editor/egg-editable-toolbar.c')
-rw-r--r--cut-n-paste/toolbar-editor/egg-editable-toolbar.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/cut-n-paste/toolbar-editor/egg-editable-toolbar.c b/cut-n-paste/toolbar-editor/egg-editable-toolbar.c
index c7a4007..006980e 100644
--- a/cut-n-paste/toolbar-editor/egg-editable-toolbar.c
+++ b/cut-n-paste/toolbar-editor/egg-editable-toolbar.c
@@ -200,11 +200,7 @@ drag_begin_cb (GtkWidget *widget,
gtk_widget_hide (widget);
-#if GTK_CHECK_VERSION (2, 16, 0)
action = gtk_activatable_get_related_action (GTK_ACTIVATABLE (widget));
-#else
- action = gtk_widget_get_action (widget);
-#endif
if (action == NULL) return;
@@ -231,11 +227,7 @@ drag_end_cb (GtkWidget *widget,
{
gtk_widget_show (widget);
-#if GTK_CHECK_VERSION (2, 16, 0)
action = gtk_activatable_get_related_action (GTK_ACTIVATABLE (widget));
-#else
- action = gtk_widget_get_action (widget);
-#endif
if (action == NULL) return;
@@ -509,11 +501,7 @@ configure_item_tooltip (GtkToolItem *item)
{
GtkAction *action;
-#if GTK_CHECK_VERSION (2, 16, 0)
action = gtk_activatable_get_related_action (GTK_ACTIVATABLE (item));
-#else
- action = gtk_widget_get_action (GTK_WIDGET (item));
-#endif
if (action != NULL)
{