* Fixed a segmentation fault when creating combo boxes
[modest] / src / modest-tny-account-store.h
index ef642e4..a6b744d 100644 (file)
 #define __MODEST_TNY_ACCOUNT_STORE_H__
 
 #include <glib-object.h>
+#include <modest-defs.h>
 #include <tny-account-store.h>
 #include <tny-session-camel.h>
 #include <tny-shared.h>
+#include <modest-account-mgr.h>
 
 /* other include files */
 
@@ -61,12 +63,9 @@ struct _ModestTnyAccountStore {
 struct _ModestTnyAccountStoreClass {
        GObjectClass parent_class;
 
-       gchar* (*password_requested) (ModestTnyAccountStore *self,
-                                     const gchar *account_name,
-                                     gpointer user_data);
-       void (*update_accounts)    (ModestTnyAccountStore *self,
-                                   const gchar *account_name,
-                                   gpointer user_data);
+       void (*account_update)    (ModestTnyAccountStore *self,
+                                  const gchar *account_name,
+                                  gpointer user_data);
 };
 
 /* member functions */
@@ -80,14 +79,13 @@ GType  modest_tny_account_store_get_type   (void) G_GNUC_CONST;
 
 /**
  * modest_tny_account_store_new:
- * @modest_acc_mgr: account manager to use for new account store
+ * @account_mgr: account manager to use for new account store
  *
  * creates new (tinymail) account store for account manager modest_acc_mgr
  *
  * Returns: newly created account store or NULL in case of error
  */
-ModestTnyAccountStore*    modest_tny_account_store_new (ModestAccountMgr *modest_acc_mgr);
-
+ModestTnyAccountStore*    modest_tny_account_store_new (ModestAccountMgr *account_mgr);
 
 /**
  * tny_account_store_get_session