* Fixed a corner case when finalizing modest
authorSergio Villar Senin <svillar@igalia.com>
Wed, 16 Apr 2008 18:42:08 +0000 (18:42 +0000)
committerSergio Villar Senin <svillar@igalia.com>
Wed, 16 Apr 2008 18:42:08 +0000 (18:42 +0000)
pmo-trunk-r4422

src/widgets/modest-window-mgr.c

index bd1b95a..cf69517 100644 (file)
@@ -808,8 +808,7 @@ on_window_destroy (ModestWindow *window,
                cancel_window_operations (window);
 
                /* Fake the window system, make it think that there is no window */
                cancel_window_operations (window);
 
                /* Fake the window system, make it think that there is no window */
-               if (priv->banner_counter == 0)
-                       g_signal_emit (self, signals[WINDOW_LIST_EMPTY_SIGNAL], 0);
+               g_signal_emit (self, signals[WINDOW_LIST_EMPTY_SIGNAL], 0);
 
                no_propagate = TRUE;
        }
 
                no_propagate = TRUE;
        }