[Xfce4-commits] [xfce/xfce4-panel] 01/01: Replace deprecated gtk_drag_begin

noreply at xfce.org noreply at xfce.org
Thu Mar 16 00:02:28 CET 2017


This is an automated email from the git hooks/post-receive script.

ochosi pushed a commit to branch master
in repository xfce/xfce4-panel.

commit 11e8af42627bc7f4d579a56413882bf3919ddfc0
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Thu Mar 16 00:02:03 2017 +0100

    Replace deprecated gtk_drag_begin
---
 panel/panel-application.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/panel/panel-application.c b/panel/panel-application.c
index d5b4451..f8c5131 100644
--- a/panel/panel-application.c
+++ b/panel/panel-application.c
@@ -569,7 +569,8 @@ panel_application_plugin_move (GtkWidget        *item,
 
   /* create drag context */
   target_list = gtk_target_list_new (drag_targets, G_N_ELEMENTS (drag_targets));
-  context = gtk_drag_begin (item, target_list, GDK_ACTION_MOVE, 1, NULL);
+  context = gtk_drag_begin_with_coordinates (item, target_list,
+                                             GDK_ACTION_MOVE, 1, NULL, -1, -1);
   gtk_target_list_unref (target_list);
 
   /* set the drag context icon name */

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list