gdkdrag/x11: Drop timestamp argument from gdk_drag_do_leave()
authorCarlos Garnacho <carlosg@gnome.org>
Thu, 16 Jan 2020 14:02:16 +0000 (15:02 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Thu, 16 Jan 2020 14:02:16 +0000 (15:02 +0100)
This is not necessary for the XdndLeave message, nor used.

gdk/x11/gdkdrag-x11.c

index b525186f85191e450c947b15c2e4348da3fd765d..87535b24ef88af69bf28520e40519bc5c80a047c 100644 (file)
@@ -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 */