Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-window.c
diff options
context:
space:
mode:
authorMarek Kašík <mkasik@redhat.com>2008-11-18 23:15:12 (GMT)
committer Nickolay V. Shmyrev <nshmyrev@src.gnome.org>2008-11-18 23:15:12 (GMT)
commita20cf6aaf721d5ad453ed704fd33707d9f72c60a (patch)
treecaf0bb72526de947efacaa24ddf9ddadc69a7445 /shell/ev-window.c
parent29779fdad02b1e06a2012180e77b090597e0c511 (diff)
Fixes assertion fail on selecting text. See bug #561393.
2008-11-19 Marek Kašík <mkasik@redhat.com> * shell/ev-pixbuf-cache.c (ev_pixbuf_cache_add_jobs_if_needed): * shell/ev-window.c (launch_external_uri): Fixes assertion fail on selecting text. See bug #561393. svn path=/trunk/; revision=3271
Diffstat (limited to 'shell/ev-window.c')
-rw-r--r--shell/ev-window.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c
index ef96dce..99dece0 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -4902,9 +4902,11 @@ static void
launch_external_uri (EvWindow *window, EvLinkAction *action)
{
const gchar *uri = ev_link_action_get_uri (action);
- GAppLaunchContext *context = NULL;
GError *error = NULL;
gboolean ret;
+#if GTK_CHECK_VERSION (2, 14, 0)
+ GAppLaunchContext *context = NULL;
+#endif
#if GTK_CHECK_VERSION (2, 14, 0)
context = G_APP_LAUNCH_CONTEXT (gdk_app_launch_context_new ());