summaryrefslogtreecommitdiff
path: root/gtk/gtkdnd.c
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2015-03-28 16:22:09 +0100
committerCarlos Garnacho <carlosg@gnome.org>2015-03-29 22:57:31 +0200
commitcba2ecc0cc593d12f45d45b1e5ebb8705eb18a8e (patch)
tree1b3db74a0a1378b2203f3415c65bb7a2143aea6c /gtk/gtkdnd.c
parenta6cafa1edb536d4f59b33ece6090e33f54f41b1b (diff)
downloadgtk+-cba2ecc0cc593d12f45d45b1e5ebb8705eb18a8e.tar.gz
gtkdnd: Restore widget opacity after fading out
Otherwise the widget is left fully transparent, and will start as such if the widget is reused.
Diffstat (limited to 'gtk/gtkdnd.c')
-rw-r--r--gtk/gtkdnd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c
index 77ae6d739e..d2b3ca5b29 100644
--- a/gtk/gtkdnd.c
+++ b/gtk/gtkdnd.c
@@ -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);