Commit 4ce65f01 authored by Alexander Larsson's avatar Alexander Larsson
Browse files

GtkDragSource: Pass return value of drag-cancel into drag_end()

This is needed to work as the docs say (don't play fallback cancel animation
if cancel returned TRUE to signal the drop already happened).
parent 707229ce
......@@ -436,7 +436,7 @@ gtk_drag_source_cancel_cb (GdkDrag *drag,
gboolean success = FALSE;
g_signal_emit (source, signals[DRAG_CANCEL], 0, source->drag, reason, &success);
drag_end (source, FALSE);
drag_end (source, success);
}
static void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment