]> www.fi.muni.cz Git - evince.git/blobdiff - libdocument/ev-attachment.c
Bump GTK+ requirements to 2.20.0
[evince.git] / libdocument / ev-attachment.c
index 0e9653dc4312910c61e13fc166398a2c5642cc89..1b25823b17f5a101589378ac3ca20fdb3a0d1ff7 100644 (file)
@@ -354,12 +354,11 @@ ev_attachment_launch_app (EvAttachment *attachment,
        g_assert (G_IS_APP_INFO (attachment->priv->app));
 
        files = g_list_prepend (files, attachment->priv->tmp_file);
-       
-#if GTK_CHECK_VERSION (2, 14, 0)
+
        context = G_APP_LAUNCH_CONTEXT (gdk_app_launch_context_new ());
        gdk_app_launch_context_set_screen (GDK_APP_LAUNCH_CONTEXT (context), screen);
        gdk_app_launch_context_set_timestamp (GDK_APP_LAUNCH_CONTEXT (context), timestamp);
-#endif
+
        result = g_app_info_launch (attachment->priv->app, files,
                                    context, &ioerror);