From 3abc95da3c5b44484aeae3c69e3701da160bf057 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Tue, 19 Mar 2013 15:35:30 +0000 Subject: gd-stack: set parent window when adding stack children Or children added after realization won't be properly displayed by the stack. --- diff --git a/libgd/gd-stack.c b/libgd/gd-stack.c index 14e6628..9d0e82b 100644 --- a/libgd/libgd/gd-stack.c +++ b/libgd/libgd/gd-stack.c @@ -857,6 +857,7 @@ gd_stack_add (GtkContainer *container, priv->children = g_list_append (priv->children, child_info); + gtk_widget_set_parent_window (child, priv->bin_window); gtk_widget_set_parent (child, GTK_WIDGET (stack)); g_signal_connect (child, "notify::visible", -- cgit v0.9.1