From 5fcf2de61755e9c1563ac2ad8ac0442467f1117c Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Wed, 20 Aug 2014 21:31:15 +0200 Subject: [PATCH] gdk: Remove check for source window This is backend dependent, on wayland there is no such source window, not even on local DnD situations. https://bugzilla.gnome.org/show_bug.cgi?id=697855 --- gdk/gdkdnd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/gdk/gdkdnd.c b/gdk/gdkdnd.c index 6482b0b0e1..2957fe2663 100644 --- a/gdk/gdkdnd.c +++ b/gdk/gdkdnd.c @@ -451,7 +451,6 @@ GdkAtom gdk_drag_get_selection (GdkDragContext *context) { g_return_val_if_fail (GDK_IS_DRAG_CONTEXT (context), GDK_NONE); - g_return_val_if_fail (context->source_window != NULL, GDK_NONE); return GDK_DRAG_CONTEXT_GET_CLASS (context)->get_selection (context); }