* make it compile again with latest Tinymail; does not work yet though.
[modest] / src / widgets / modest-folder-view.h
index 1da8f63..ffa99bf 100644 (file)
@@ -30,8 +30,8 @@
 #ifndef __MODEST_FOLDER_VIEW_H__
 #define __MODEST_FOLDER_VIEW_H__
 
-#include <tny-account-tree-model.h>
-#include <tny-account-store-iface.h>
+#include <tny-gtk-account-tree-model.h>
+#include <tny-account-store.h>
 #include <glib-object.h>
 
 G_BEGIN_DECLS
@@ -57,7 +57,7 @@ struct _ModestFolderViewClass {
 
        /* emitted when a folder is clicked */
        void (*folder_selected) (ModestFolderView* self,
-                                TnyMsgFolderIface *folder,
+                                TnyFolderIface *folder,
                                 gpointer user_data);
                                 
        gboolean (*update_model) (ModestFolderView *self, 
@@ -78,13 +78,13 @@ GType        modest_folder_view_get_type    (void) G_GNUC_CONST;
 
 /**
  * modest_folder_view_new:
- * @iface: a TnyAccountStoreIface object
+ * @iface: a ModestTnyAccountStore instance
  * 
  * create a new ModestFolderView instance, based on an account store
  *  
  * Returns: a new GtkWidget (a GtkTreeView-subclass)
  */
-GtkWidget* modest_folder_view_new         (TnyAccountStoreIface *iface);
+GtkWidget* modest_folder_view_new         (ModestTnyAccountStore *account_store);
 
 
 /**
@@ -99,19 +99,6 @@ GtkWidget* modest_folder_view_new         (TnyAccountStoreIface *iface);
 gboolean     modest_folder_view_is_empty    (ModestFolderView *self);
 
 
-/**
- * modest_folder_view_update_model:
- * @self: a #ModestFolderView instance
- * @iface: a #TnyAccountStoreIface instance
- * 
- * Update the thee model from a given account store.
- *  
- * Returns: TRUE on success, FALSE otherwise
- */
-gboolean     modest_folder_view_update_model(ModestFolderView *self, 
-                                            TnyAccountStoreIface *iface);
-
-
 G_END_DECLS
 
 #endif /* __MODEST_FOLDER_VIEW_H__ */