summaryrefslogtreecommitdiff
path: root/shell/ev-application.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ev-application.c')
-rw-r--r--shell/ev-application.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/shell/ev-application.c b/shell/ev-application.c
index c1bf42f5..b27ee512 100644
--- a/shell/ev-application.c
+++ b/shell/ev-application.c
@@ -269,12 +269,7 @@ ev_spawn (const char *uri,
GList uri_list;
GList *uris = NULL;
-#if GTK_CHECK_VERSION (3, 0, 0)
ctx = gdk_display_get_app_launch_context (gdk_screen_get_display (screen));
-#else
- ctx = gdk_app_launch_context_new ();
- gdk_app_launch_context_set_display (ctx, gdk_screen_get_display (screen));
-#endif
gdk_app_launch_context_set_screen (ctx, screen);
gdk_app_launch_context_set_timestamp (ctx, timestamp);