2009-02-04 Alberto Garcia <agarcia@igalia.com>
authorAlberto Garcia <agarcia@igalia.com>
Wed, 4 Feb 2009 16:01:45 +0000 (16:01 +0000)
committerAlberto Garcia <agarcia@igalia.com>
Wed, 4 Feb 2009 16:01:45 +0000 (16:01 +0000)
* src/hildon-stackable-window.c (hildon_stackable_window_hide):
Remove from stack before calling parent's hide.

ChangeLog
src/hildon-stackable-window.c

index a6c1957..6dd6a55 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2009-02-04  Alberto Garcia  <agarcia@igalia.com>
 
+       * src/hildon-stackable-window.c (hildon_stackable_window_hide):
+       Remove from stack before calling parent's hide.
+
+2009-02-04  Alberto Garcia  <agarcia@igalia.com>
+
        * src/hildon-window-stack.c (hildon_window_stack_remove): When a
        window is removed from the middle of the stack, update the
        transiency of the previous one.
index a040465..2a694f8 100644 (file)
@@ -263,11 +263,12 @@ static void
 hildon_stackable_window_hide                    (GtkWidget *widget)
 {
     HildonStackableWindowPrivate *priv = HILDON_STACKABLE_WINDOW_GET_PRIVATE (widget);
-    GTK_WIDGET_CLASS (hildon_stackable_window_parent_class)->hide (widget);
 
     if (priv->stack) {
         hildon_window_stack_remove (HILDON_STACKABLE_WINDOW (widget));
     }
+
+    GTK_WIDGET_CLASS (hildon_stackable_window_parent_class)->hide (widget);
 }
 
 static void