[yelp] yelp-view: Update call to deprecated gdk_app_launch_context_new



commit 6c6c1e4caf13f0329260c08c7ae1684831e87f8e
Author: Shaun McCance <shaunm gnome org>
Date:   Sun Aug 18 20:43:57 2013 -0400

    yelp-view: Update call to deprecated gdk_app_launch_context_new

 libyelp/yelp-view.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libyelp/yelp-view.c b/libyelp/yelp-view.c
index 3146987..9834c52 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) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]