Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libdocument
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2010-03-31 15:51:45 (GMT)
committer Carlos Garcia Campos <carlosgc@gnome.org>2010-03-31 15:51:45 (GMT)
commit764836d36a1391ed0bc03841c68ed768e7ec94b6 (patch)
treeae6ecce071383c03ead7d48f4601d5fa0e89ccd6 /libdocument
parent615629a95ba70c7c750c3472b36cb4440f2ead84 (diff)
Bump GTK+ requirements to 2.20.0
Remove GTK_CHECK_VERSION macros and unneeded code.
Diffstat (limited to 'libdocument')
-rw-r--r--libdocument/ev-attachment.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libdocument/ev-attachment.c b/libdocument/ev-attachment.c
index 0e9653d..1b25823 100644
--- a/libdocument/ev-attachment.c
+++ b/libdocument/ev-attachment.c
@@ -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);