X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fwidgets%2Fmodest-window-mgr.c;h=b4cda24575713e3fec8149376ccb9435a4f76b32;hp=567f989855e9dc227a46e604b4386154b2317b6f;hb=eb49b917dec41a5b9a260b1ba9f1f8758683aa6c;hpb=d55b4a5e61e0e58d861bb4c5efa007b81963fdb6 diff --git a/src/widgets/modest-window-mgr.c b/src/widgets/modest-window-mgr.c index 567f989..b4cda24 100644 --- a/src/widgets/modest-window-mgr.c +++ b/src/widgets/modest-window-mgr.c @@ -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 */