From: Carlos Garnacho Date: Thu, 16 Jan 2020 14:02:16 +0000 (+0100) Subject: gdkdrag/x11: Drop timestamp argument from gdk_drag_do_leave() X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~20^2~320^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4716c9ae2f6ad5cc703168a94aae1b7cb5525571;p=gtk4.git gdkdrag/x11: Drop timestamp argument from gdk_drag_do_leave() This is not necessary for the XdndLeave message, nor used. --- 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 */