[Xfce4-commits] [xfce/xfdesktop] 03/16: gdk_app_launch_context_new -> gdk_display_get_app_launch_context
noreply at xfce.org
noreply at xfce.org
Wed Apr 19 17:46:20 CEST 2017
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository xfce/xfdesktop.
commit c36c030dce43bd1d16e134ad8f1b6a3c16bf88dd
Author: Eric Koegel <eric.koegel at gmail.com>
Date: Wed Apr 19 06:15:07 2017 +0300
gdk_app_launch_context_new -> gdk_display_get_app_launch_context
---
src/xfdesktop-file-icon-manager.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/xfdesktop-file-icon-manager.c b/src/xfdesktop-file-icon-manager.c
index 9d6d3e1..10a318f 100644
--- a/src/xfdesktop-file-icon-manager.c
+++ b/src/xfdesktop-file-icon-manager.c
@@ -785,7 +785,7 @@ xfdesktop_file_icon_menu_app_info_executed(GtkWidget *widget,
files.data = file;
/* prepare the launch context and configure its screen */
- context = gdk_app_launch_context_new();
+ context = gdk_display_get_app_launch_context(gtk_widget_get_display(GTK_WIDGET(fmanager->priv->icon_view)));
toplevel = gtk_widget_get_toplevel(GTK_WIDGET(fmanager->priv->icon_view));
gdk_app_launch_context_set_screen(context, gtk_widget_get_screen(toplevel));
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list