summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaun McCance <shaunm@gnome.org>2013-08-18 20:43:57 -0400
committerShaun McCance <shaunm@gnome.org>2013-08-18 20:43:57 -0400
commit6c6c1e4caf13f0329260c08c7ae1684831e87f8e (patch)
treef81e4e0d05dd35d36747424713ba21c0606fd907
parent7181fd4e1e4469861368b3a5e23559e284d8eaa4 (diff)
downloadyelp-6c6c1e4caf13f0329260c08c7ae1684831e87f8e.tar.gz
yelp-view: Update call to deprecated gdk_app_launch_context_new
-rw-r--r--libyelp/yelp-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libyelp/yelp-view.c b/libyelp/yelp-view.c
index 31469875..9834c529 100644
--- a/libyelp/yelp-view.c
+++ b/libyelp/yelp-view.c
@@ -1056,7 +1056,7 @@ popup_send_image (GtkMenuItem *item,
YelpViewPrivate *priv = GET_PRIV (view);
command = g_strdup_printf ("%s %s", nautilus_sendto, priv->popup_image_uri);
- context = (GAppLaunchContext *) gdk_app_launch_context_new ();
+ context = (GAppLaunchContext *) gdk_display_get_app_launch_context (gtk_widget_get_display (GTK_WIDGET (item)));
app = g_app_info_create_from_commandline (command, NULL, 0, &error);
if (app) {