aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/misc')
-rw-r--r--widgets/misc/e-attachment-paned.c4
-rw-r--r--widgets/misc/e-attachment-view.c2
-rw-r--r--widgets/misc/e-attachment.c4
3 files changed, 0 insertions, 10 deletions
diff --git a/widgets/misc/e-attachment-paned.c b/widgets/misc/e-attachment-paned.c
index 853ff48cb2..3fed031473 100644
--- a/widgets/misc/e-attachment-paned.c
+++ b/widgets/misc/e-attachment-paned.c
@@ -590,11 +590,7 @@ attachment_paned_init (EAttachmentPaned *paned)
view = E_ATTACHMENT_VIEW (paned->priv->icon_view);
action = e_attachment_view_get_action (view, "add");
gtk_button_set_image (GTK_BUTTON (widget), gtk_image_new ());
-#if GTK_CHECK_VERSION(2,16,0)
gtk_activatable_set_related_action (GTK_ACTIVATABLE (widget), action);
-#else
- gtk_action_connect_proxy (action, widget); /* XXX Deprecated */
-#endif
gtk_box_pack_start (GTK_BOX (container), widget, FALSE, FALSE, 0);
gtk_widget_show (widget);
diff --git a/widgets/misc/e-attachment-view.c b/widgets/misc/e-attachment-view.c
index 53f719c787..2ad34d6751 100644
--- a/widgets/misc/e-attachment-view.c
+++ b/widgets/misc/e-attachment-view.c
@@ -650,9 +650,7 @@ attachment_view_update_actions (EAttachmentView *view)
action = gtk_action_new (
action_name, action_label, action_tooltip, NULL);
-#if GTK_CHECK_VERSION(2,16,0)
gtk_action_set_gicon (action, app_icon);
-#endif
g_object_set_data_full (
G_OBJECT (action),
diff --git a/widgets/misc/e-attachment.c b/widgets/misc/e-attachment.c
index f472a26ff3..537a3470d7 100644
--- a/widgets/misc/e-attachment.c
+++ b/widgets/misc/e-attachment.c
@@ -2534,11 +2534,7 @@ attachment_save_query_info_cb (GFile *destination,
replace:
g_file_replace_async (
destination, NULL, FALSE,
-#if GLIB_CHECK_VERSION(2,20,0)
G_FILE_CREATE_REPLACE_DESTINATION,
-#else
- G_FILE_CREATE_NONE,
-#endif
G_PRIORITY_DEFAULT, cancellable,
(GAsyncReadyCallback) attachment_save_replace_cb,
save_context);