[gtk+/wayland-selections: 9/17] gdk: Remove check for source window
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wayland-selections: 9/17] gdk: Remove check for source window
- Date: Fri, 22 Aug 2014 14:13:44 +0000 (UTC)
commit 0bfe4fc94406d07b1906b47a9b1017b216d13be8
Author: Carlos Garnacho <carlosg gnome org>
Date: Wed Aug 20 21:31:15 2014 +0200
gdk: Remove check for source window
This is windowing dependent, on wayland there is no such source window,
not even on local DnD situations.
gdk/gdkdnd.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkdnd.c b/gdk/gdkdnd.c
index 6482b0b..2957fe2 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]