- for (cur_folder = tny_iterator_iface_first (ifolders);
- tny_iterator_iface_has_next (ifolders);
- tny_iterator_iface_next (ifolders))
- {
- cur_folder = tny_iterator_iface_current (ifolders);
-// tny_msg_folder_iface_refresh (cur_folder);
- }
-#endif
-}
-
-
-GType
-modest_tny_store_actions_get_type (void)
-{
- static GType my_type = 0;
- if (!my_type) {
- static const GTypeInfo my_info = {
- sizeof(ModestTnyStoreActionsClass),
- NULL, /* base init */
- NULL, /* base finalize */
- (GClassInitFunc) modest_tny_store_actions_class_init,
- NULL, /* class finalize */
- NULL, /* class data */
- sizeof(ModestTnyStoreActions),
- 1, /* n_preallocs */
- (GInstanceInitFunc) modest_tny_store_actions_init,
- };
- my_type = g_type_register_static (G_TYPE_OBJECT,
- "ModestTnyStoreActions",
- &my_info, 0);
+ for (cur_folder = TNY_MSG_FOLDER_IFACE(tny_iterator_iface_first (ifolders));
+ tny_iterator_iface_has_next (ifolders);
+ tny_iterator_iface_next (ifolders)) {
+
+ cur_folder = TNY_MSG_FOLDER_IFACE(tny_iterator_iface_current (ifolders));
+ tny_msg_folder_iface_refresh (cur_folder);