* Reverted a very bad change
authorSergio Villar Senin <svillar@igalia.com>
Thu, 17 Apr 2008 09:41:51 +0000 (09:41 +0000)
committerSergio Villar Senin <svillar@igalia.com>
Thu, 17 Apr 2008 09:41:51 +0000 (09:41 +0000)
pmo-trunk-r4427

src/widgets/modest-window-mgr.c

index 567f989..b4cda24 100644 (file)
@@ -936,8 +936,7 @@ modest_window_mgr_unregister_window (ModestWindowMgr *self,
        /* Disconnect all the window signals */
        modest_window_disconnect_signals (window);
        
-       /* Destroy the window and unref the extra reference */
-       g_object_unref (win->data);
+       /* Destroy the window */
        gtk_widget_destroy (win->data);
        
        /* If there are no more windows registered emit the signal */