summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/obexpush.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/obexpush.c b/src/obexpush.c
index 2ad1adb..237ec90 100644
--- a/src/obexpush.c
+++ b/src/obexpush.c
@@ -81,15 +81,10 @@ notification_launch_action_on_file_cb (NotifyNotification *notification,
g_get_current_time (&val);
-#if GTK_CHECK_VERSION(2,14,0)
ctx = G_APP_LAUNCH_CONTEXT (gdk_app_launch_context_new ());
screen = gdk_screen_get_default ();
gdk_app_launch_context_set_screen (GDK_APP_LAUNCH_CONTEXT (ctx), screen);
gdk_app_launch_context_set_timestamp (GDK_APP_LAUNCH_CONTEXT (ctx), val.tv_sec);
-#else
- ctx = NULL;
- screen = NULL;
-#endif
/* We launch the file viewer for the file */
if (g_str_equal (action, "display") != FALSE) {