From ae5f4711a21508a70d7123dbc0efb610af1289a2 Mon Sep 17 00:00:00 2001 From: monsta Date: Wed, 23 Nov 2016 18:15:54 +0300 Subject: move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build option and require caja >= 1.17.1 --- shell/ev-application.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'shell/ev-application.c') 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); -- cgit v1.2.1