TnyPlatformFactoryIface *klass = (TnyPlatformFactoryIface *)g;
klass->new_account_store_func = modest_tny_platform_factory_new_account_store;
- klass->new_device_func = modest_tny_platform_factory_new_device;
- klass->new_msg_view_func = modest_tny_platform_factory_new_msg_view;
- klass->new_msg_func = modest_tny_platform_factory_new_msg;
- klass->new_mime_part_func = modest_tny_platform_factory_new_mime_part;
- klass->new_header_func = modest_tny_platform_factory_new_header;
+ klass->new_device_func = modest_tny_platform_factory_new_device;
+ klass->new_msg_view_func = modest_tny_platform_factory_new_msg_view;
+ klass->new_msg_func = modest_tny_platform_factory_new_msg;
+ klass->new_mime_part_func = modest_tny_platform_factory_new_mime_part;
+ klass->new_header_func = modest_tny_platform_factory_new_header;
return;
}
#include "modest-widget-factory.h"
#include "modest-tny-platform-factory.h"
+#include <modest-widget-memory.h>
#include "modest-edit-msg-window.h"
#include "modest-account-view-window.h"
#include "modest-icon-names.h"
/* header view */
if (!(priv->header_view =
MODEST_HEADER_VIEW(modest_header_view_new
- (NULL, NULL,MODEST_HEADER_VIEW_STYLE_NORMAL)))) {
+ (NULL, NULL,0)))) {
g_printerr ("modest: cannot instantiate header view\n");
return FALSE;
}
-
-
+
/* msg preview */
if (!(priv->msg_preview = MODEST_MSG_VIEW(modest_msg_view_new (NULL)))) {
g_printerr ("modest: cannot instantiate header view\n");
/* FIXME: move these to TnyMail */
enum {
-
TNY_FOLDER_TYPE_NOTES = TNY_FOLDER_TYPE_ROOT + 1, /* urgh */
TNY_FOLDER_TYPE_DRAFTS,
TNY_FOLDER_TYPE_CONTACTS,
- TNY_FOLDER_TYPE_CALENDAR
+ TNY_FOLDER_TYPE_CALENDAR,
};