dragsource: Fix cancellation

We need to properly end the drag.
This commit is contained in:
Matthias Clasen 2020-01-06 20:46:08 -05:00
parent 0224517806
commit 1eefaf8b41

View File

@ -693,8 +693,7 @@ gtk_drag_source_drag_cancel (GtkDragSource *source)
gboolean success = FALSE;
g_signal_emit (source, signals[DRAG_CANCEL], 0, source->drag, GDK_DRAG_CANCEL_ERROR, &success);
gdk_drag_drop_done (source->drag, success);
drag_end (source->drag, FALSE);
}
}