diff options
author | Benjamin Otte <otte@redhat.com> | 2018-06-26 00:47:40 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2018-06-26 00:47:40 +0200 |
commit | d13843ee2a5e2afabe6418cc7e9e744258a3fc5d (patch) | |
tree | 3e6443e9d0ed135c0c512af3b1b42790f2907d44 /gdk/x11/gdkdnd-x11.c | |
parent | 7869ffbb49cf99fcf7c4a7f1b4925262991d1e5d (diff) | |
download | gtk+-d13843ee2a5e2afabe6418cc7e9e744258a3fc5d.tar.gz |
gdk: Remove GDK_SURFACE_FOREIGN
We don't create surfaces of that type anymore.
Diffstat (limited to 'gdk/x11/gdkdnd-x11.c')
-rw-r--r-- | gdk/x11/gdkdnd-x11.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/x11/gdkdnd-x11.c b/gdk/x11/gdkdnd-x11.c index f1070f7b0c..04b6178948 100644 --- a/gdk/x11/gdkdnd-x11.c +++ b/gdk/x11/gdkdnd-x11.c @@ -1355,7 +1355,7 @@ _gdk_x11_display_get_drag_protocol (GdkDisplay *display, /* Check for a local drag */ surface = gdk_x11_surface_lookup_for_display (display, xid); - if (surface && gdk_surface_get_surface_type (surface) != GDK_SURFACE_FOREIGN) + if (surface) { if (g_object_get_data (G_OBJECT (surface), "gdk-dnd-registered") != NULL) { |