diff options
author | Benjamin Otte <otte@redhat.com> | 2018-06-15 08:48:27 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2018-06-18 23:49:53 +0200 |
commit | aa1f0cfd4f92201d249ba183ba6b2ae88223f56e (patch) | |
tree | 7b7d7d5661d48609ede4e92af08aa198b4a3306b /gdk/win32 | |
parent | 45a6146ca6254a6caa58a8fdfeb6ba35a04202b5 (diff) | |
download | gtk+-aa1f0cfd4f92201d249ba183ba6b2ae88223f56e.tar.gz |
dnd: Remove GdkDragContext.is_source
All drag contexts are sources these days, the other ones are GdkDrop
now.
Diffstat (limited to 'gdk/win32')
-rw-r--r-- | gdk/win32/gdkdrag-win32.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gdk/win32/gdkdrag-win32.c b/gdk/win32/gdkdrag-win32.c index 31243deafc..b8bdd3a515 100644 --- a/gdk/win32/gdkdrag-win32.c +++ b/gdk/win32/gdkdrag-win32.c @@ -1741,7 +1741,6 @@ _gdk_win32_surface_drag_begin (GdkSurface *window, drag_win32 = GDK_WIN32_DRAG_CONTEXT (drag); g_set_object (&drag->source_surface, window); - drag->is_source = TRUE; GDK_NOTE (DND, g_print ("_gdk_win32_surface_drag_begin\n")); @@ -2551,8 +2550,6 @@ gdk_win32_drag_context_handle_event (GdkDragContext *drag, { GdkWin32DragContext *drag_win32 = GDK_WIN32_DRAG_CONTEXT (drag); - if (!drag->is_source) - return FALSE; if (!drag_win32->grab_seat) return FALSE; if (!drag_win32->handle_events) |