mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-15 06:40:08 +00:00
dragsource: Fix cancellation
We need to properly end the drag.
This commit is contained in:
parent
0224517806
commit
1eefaf8b41
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user