diff options
author | Benjamin Otte <otte@redhat.com> | 2018-05-02 02:56:14 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2018-05-03 01:31:40 +0200 |
commit | 8366ef71c0437d9dccd45f9b900d589678f298cc (patch) | |
tree | e9a4b16dafa4974be6dc220542aac64f2ba3b292 /gdk/win32/gdkdrop-win32.c | |
parent | fb53568c043e03597d6ef6568dbf79e2004c3f13 (diff) | |
download | gtk+-8366ef71c0437d9dccd45f9b900d589678f298cc.tar.gz |
dnd: Remove gdk_drop_reply()
It was only necessary for Motif DND, and we don't support that anymore.
Diffstat (limited to 'gdk/win32/gdkdrop-win32.c')
-rw-r--r-- | gdk/win32/gdkdrop-win32.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/gdk/win32/gdkdrop-win32.c b/gdk/win32/gdkdrop-win32.c index 1d9dac87f6..d2a9656a86 100644 --- a/gdk/win32/gdkdrop-win32.c +++ b/gdk/win32/gdkdrop-win32.c @@ -875,23 +875,6 @@ gdk_win32_drop_context_drag_status (GdkDragContext *context, } static void -gdk_win32_drop_context_drop_reply (GdkDragContext *context, - gboolean ok, - guint32 time) -{ - g_return_if_fail (context != NULL); - - GDK_NOTE (DND, g_print ("gdk_drop_reply\n")); - - if (!use_ole2_dnd) - if (context->dest_surface) - { - if (GDK_WIN32_DRAG_CONTEXT (context)->protocol == GDK_DRAG_PROTO_WIN32_DROPFILES) - _gdk_dropfiles_store (NULL); - } -} - -static void _gdk_display_put_event (GdkDisplay *display, GdkEvent *event) { @@ -1213,7 +1196,6 @@ gdk_win32_drop_context_class_init (GdkWin32DropContextClass *klass) object_class->finalize = gdk_win32_drop_context_finalize; context_class->drag_status = gdk_win32_drop_context_drag_status; - context_class->drop_reply = gdk_win32_drop_context_drop_reply; context_class->drop_finish = gdk_win32_drop_context_drop_finish; context_class->read_async = gdk_win32_drop_context_read_async; context_class->read_finish = gdk_win32_drop_context_read_finish; |