* modest-tny-platform-factory.[ch]:
authorDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Sun, 10 Dec 2006 18:25:31 +0000 (18:25 +0000)
committerDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Sun, 10 Dec 2006 18:25:31 +0000 (18:25 +0000)
  - small cleanups

pmo-trunk-r536

src/modest-tny-platform-factory.c
src/modest-tny-platform-factory.h

index 9d51114..669f757 100644 (file)
@@ -124,7 +124,12 @@ modest_tny_platform_factory_class_init (ModestTnyPlatformFactoryClass *klass)
 static void
 modest_tny_platform_factory_init (ModestTnyPlatformFactory *obj)
 {
-       /* Empty implementation */
+       ModestTnyPlatformFactoryPrivate *priv;
+       priv = MODEST_TNY_PLATFORM_FACTORY_GET_PRIVATE(obj);
+
+       priv->account_mgr   = NULL;
+       priv->conf          = NULL;
+       priv->account_store = NULL;
 }
 
 static GObject*
index 946fc88..d7368e8 100644 (file)
@@ -65,7 +65,7 @@ GType        modest_tny_platform_factory_get_type    (void) G_GNUC_CONST;
 TnyPlatformFactory*    modest_tny_platform_factory_get_instance         (void);
 
 ModestAccountMgr*    modest_tny_platform_factory_get_modest_account_mgr_instance (TnyPlatformFactory *fact);
-ModestConf*    modest_tny_platform_factory_get_modest_conf_instance (TnyPlatformFactory *fact);
+ModestConf*          modest_tny_platform_factory_get_modest_conf_instance (TnyPlatformFactory *fact);
 
 
 G_END_DECLS