[gtk/wip/carlosg/x11-dnd: 4/5] gdkdrag/x11: Drop timestamp argument from gdk_drag_do_leave()



commit 4716c9ae2f6ad5cc703168a94aae1b7cb5525571
Author: Carlos Garnacho <carlosg gnome org>
Date:   Thu Jan 16 15:02:16 2020 +0100

    gdkdrag/x11: Drop timestamp argument from gdk_drag_do_leave()
    
    This is not necessary for the XdndLeave message, nor used.

 gdk/x11/gdkdrag-x11.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/gdk/x11/gdkdrag-x11.c b/gdk/x11/gdkdrag-x11.c
index b525186f85..87535b24ef 100644
--- a/gdk/x11/gdkdrag-x11.c
+++ b/gdk/x11/gdkdrag-x11.c
@@ -1304,8 +1304,7 @@ xdnd_precache_atoms (GdkDisplay *display)
 /* Source side */
 
 static void
-gdk_drag_do_leave (GdkX11Drag *drag_x11,
-                   guint32            time)
+gdk_drag_do_leave (GdkX11Drag *drag_x11)
 {
   if (drag_x11->proxy_xid)
     {
@@ -1509,7 +1508,7 @@ gdk_x11_drag_drag_motion (GdkDrag *drag,
   if (drag_x11->proxy_xid != proxy_xid)
     {
       /* Send a leave to the last destination */
-      gdk_drag_do_leave (drag_x11, time);
+      gdk_drag_do_leave (drag_x11);
       drag_x11->drag_status = GDK_DRAG_STATUS_DRAG;
 
       /* Check if new destination accepts drags, and which protocol */


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