gtkdnd: Restore widget opacity after fading out

Otherwise the widget is left fully transparent, and will start as such if
the widget is reused.
This commit is contained in:
Carlos Garnacho 2015-03-28 16:22:09 +01:00
parent a6cafa1edb
commit cba2ecc0cc

View File

@ -4002,6 +4002,7 @@ gtk_drag_remove_icon (GtkDragSourceInfo *info)
if (info->icon_window)
{
gtk_widget_hide (info->icon_window);
gtk_widget_set_opacity (info->icon_window, 1.0);
if (info->destroy_icon)
gtk_widget_destroy (info->icon_window);