From 4716c9ae2f6ad5cc703168a94aae1b7cb5525571 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Thu, 16 Jan 2020 15:02:16 +0100 Subject: [PATCH] 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 */