summaryrefslogtreecommitdiff
path: root/cut-n-paste
diff options
context:
space:
mode:
Diffstat (limited to 'cut-n-paste')
-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)
{