diff options
author | Benjamin Otte <otte@redhat.com> | 2017-12-14 00:43:19 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2017-12-14 00:44:26 +0100 |
commit | 54f9aef0d43299c9a5c02b45641a80f3657e9981 (patch) | |
tree | 043c75c17891a667aae64e400c8a0a424c93c2a5 /gdk/gdkdnd.c | |
parent | ca5f859dc8134eca53c328eaa35b6d5c1dca1856 (diff) | |
download | gtk+-54f9aef0d43299c9a5c02b45641a80f3657e9981.tar.gz |
gdk: Remove gdk_selection_convert()
It's not used anymore.
Diffstat (limited to 'gdk/gdkdnd.c')
-rw-r--r-- | gdk/gdkdnd.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/gdk/gdkdnd.c b/gdk/gdkdnd.c index 2344b7ee65..2b5d40cb12 100644 --- a/gdk/gdkdnd.c +++ b/gdk/gdkdnd.c @@ -1032,7 +1032,6 @@ gboolean gdk_drag_context_handle_dest_event (GdkEvent *event) { GdkDragContext *context = NULL; - GList *l; switch ((guint) event->type) { @@ -1040,19 +1039,6 @@ gdk_drag_context_handle_dest_event (GdkEvent *event) case GDK_DROP_START: context = event->dnd.context; break; - case GDK_SELECTION_NOTIFY: - for (l = contexts; l; l = l->next) - { - GdkDragContext *c = l->data; - - if (!c->is_source && - event->selection.selection == gdk_drag_get_selection (c)) - { - context = c; - break; - } - } - break; default: return FALSE; } |