X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-widget-factory.h;h=7c0db2e5cbed3b956963671c45d8a2dbb6ea8a19;hp=b88f83d47c0c76cc808e984c0e3e97667edee5c5;hb=31bb0518a45f4ca59a30a650475d3a3f9ff87610;hpb=d57f2c3462ad26c4758c033f91b2289ff8455137 diff --git a/src/modest-widget-factory.h b/src/modest-widget-factory.h index b88f83d..7c0db2e 100644 --- a/src/modest-widget-factory.h +++ b/src/modest-widget-factory.h @@ -53,13 +53,10 @@ typedef struct _ModestWidgetFactoryClass ModestWidgetFactoryClass; struct _ModestWidgetFactory { GObject parent; - /* insert public members, if any */ }; struct _ModestWidgetFactoryClass { GObjectClass parent_class; - /* insert signal callback declarations, eg. */ - /* void (* my_event) (ModestWidgetFactory* obj); */ }; @@ -85,12 +82,15 @@ GType modest_widget_factory_get_type (void) G_GNUC_CONST; /** * modest_widget_factory_new - * + * @account_store: a valid ModestTnyAccountStore instance + * * instantiates a ModestWidgetFactory * * Returns: a new ModestWidgetFactory, or NULL in case of error */ -ModestWidgetFactory* modest_widget_factory_new (void); +ModestWidgetFactory* modest_widget_factory_new (ModestTnyAccountStore *account_store); + + /** * modest_widget_factory_get_folder_view * @self: a ModestWidgetFactory instance @@ -130,7 +130,7 @@ ModestHeaderView* modest_widget_factory_get_header_view (ModestWidgetFactory * * Returns: a header tree view, or NULL in case of error */ -ModestMsgView* modest_widget_factory_get_msg_preview (ModestWidgetFactory *self); +ModestMsgView* modest_widget_factory_get_msg_preview (ModestWidgetFactory *self); /**