* modest-tny-account-store.[ch]:
authorDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Fri, 26 Jan 2007 16:41:36 +0000 (16:41 +0000)
committerDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Fri, 26 Jan 2007 16:41:36 +0000 (16:41 +0000)
  - fix some compile warnings

pmo-trunk-r742

src/modest-tny-account-store.c
src/modest-tny-account-store.h

index ac083fa..4ecca3a 100644 (file)
@@ -555,7 +555,8 @@ modest_tny_account_store_new (ModestAccountMgr *account_mgr) {
                return NULL;
        }
        tny_session_camel_set_ui_locker (priv->tny_session_camel, tny_gtk_lockable_new ());
-       priv->local_folders = get_local_folders_account (obj); /* FIXME: unref this in the end? */
+       priv->local_folders = get_local_folders_account (MODEST_TNY_ACCOUNT_STORE(obj));
+       /* FIXME: unref this in the end? */
        
        /* Connect signals */
        g_signal_connect (G_OBJECT(account_mgr), "account_changed",
index ff89590..902e58b 100644 (file)
@@ -38,6 +38,7 @@
 #include <tny-account-store.h>
 #include <tny-session-camel.h>
 #include <tny-shared.h>
+#include <tny-folder.h>
 #include <modest-account-mgr.h>
 
 /* other include files */