From: Dirk-Jan C. Binnema Date: Mon, 24 Jul 2006 14:32:51 +0000 (+0000) Subject: * fix for initialized priv ptr in modest_account_view initialisation X-Git-Tag: git_migration_finished~4465 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=0942ff0db43cd65b3930247990f2ef9fab925793 * fix for initialized priv ptr in modest_account_view initialisation pmo-trunk-r411 --- diff --git a/src/widgets/modest-account-view.c b/src/widgets/modest-account-view.c index eb3e0f3..e388d7e 100644 --- a/src/widgets/modest-account-view.c +++ b/src/widgets/modest-account-view.c @@ -291,12 +291,12 @@ modest_account_view_new (ModestAccountMgr *account_mgr) { 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_object_ref (G_OBJECT(account_mgr)); priv->account_mgr = account_mgr;