* fix for initialized priv ptr in modest_account_view initialisation
authorDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Mon, 24 Jul 2006 14:32:51 +0000 (14:32 +0000)
committerDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Mon, 24 Jul 2006 14:32:51 +0000 (14:32 +0000)
pmo-trunk-r411

src/widgets/modest-account-view.c

index eb3e0f3..e388d7e 100644 (file)
@@ -291,12 +291,12 @@ modest_account_view_new (ModestAccountMgr *account_mgr)
 {
        GObject *obj;
        ModestAccountViewPrivate *priv;
 {
        GObject *obj;
        ModestAccountViewPrivate *priv;
-
+       
        g_return_val_if_fail (account_mgr, NULL);
        
        obj  = g_object_new(MODEST_TYPE_ACCOUNT_VIEW, NULL);
        priv = MODEST_ACCOUNT_VIEW_GET_PRIVATE(obj);
        g_return_val_if_fail (account_mgr, NULL);
        
        obj  = g_object_new(MODEST_TYPE_ACCOUNT_VIEW, NULL);
        priv = MODEST_ACCOUNT_VIEW_GET_PRIVATE(obj);
-
+       
        g_object_ref (G_OBJECT(account_mgr));
        priv->account_mgr = account_mgr;
 
        g_object_ref (G_OBJECT(account_mgr));
        priv->account_mgr = account_mgr;