From aa1f0cfd4f92201d249ba183ba6b2ae88223f56e Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Fri, 15 Jun 2018 08:48:27 +0200 Subject: dnd: Remove GdkDragContext.is_source All drag contexts are sources these days, the other ones are GdkDrop now. --- gdk/win32/gdkdrag-win32.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'gdk/win32') 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) -- cgit v1.2.1