summaryrefslogtreecommitdiff
path: root/gtk/gtkdnd.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2015-12-02 15:22:23 +0100
committerBenjamin Otte <otte@redhat.com>2015-12-02 15:22:23 +0100
commit4d31bf91dbc1933b9c6c3a0efdd2d89b3e7ccfb5 (patch)
tree21935a6d9835d7f6bb73a0cb8a186c88d89a2a73 /gtk/gtkdnd.c
parent8a7dbe5f36a196660ea452e9772b2aeacd9b6c2e (diff)
downloadgtk+-4d31bf91dbc1933b9c6c3a0efdd2d89b3e7ccfb5.tar.gz
dnd: No need to reset the icon
When we start a drag cancel animation, we can just keep the existing window. The reset was only necessary to convert from cursor icon to window and we removed the cursor handling.
Diffstat (limited to 'gtk/gtkdnd.c')
-rw-r--r--gtk/gtkdnd.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c
index 052c9f168d..0f803f65ce 100644
--- a/gtk/gtkdnd.c
+++ b/gtk/gtkdnd.c
@@ -3116,9 +3116,6 @@ gtk_drag_drop_finished (GtkDragSourceInfo *info,
info->cur_screen = gtk_widget_get_screen (info->widget);
- if (!info->icon_window)
- set_icon_helper (info->context, gtk_icon_helper_get_definition (info->icon_helper), 0, 0);
-
gdk_threads_add_timeout_full (G_PRIORITY_DEFAULT, 17, gtk_drag_anim_timeout, anim, (GDestroyNotify) gtk_drag_anim_destroy);
}
}