X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-ui.h;h=186142d918ba84740013e2584bcfd77795a9be89;hb=2e7120c1f07ef549a82508a233c7eb0b1200de92;hp=49a79938001ffa6e765aa8d151f55ee56dbc5a97;hpb=702b748360f6de61e0780c36a98065d19a495c83;p=modest diff --git a/src/modest-ui.h b/src/modest-ui.h index 49a7993..186142d 100644 --- a/src/modest-ui.h +++ b/src/modest-ui.h @@ -27,16 +27,13 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ - -/* modest-ui.h */ - #ifndef __MODEST_UI_H__ #define __MODEST_UI_H__ #include #include #include "modest-conf.h" -#include "modest-tny-msg-view.h" +#include "widgets/modest-msg-view.h" G_BEGIN_DECLS @@ -80,7 +77,7 @@ GType modest_ui_get_type (void) G_GNUC_CONST; * * Returns: a new ModestUI, or NULL in case of error */ -GObject* modest_ui_new (ModestConf *modest_conf); +ModestUI* modest_ui_new (ModestConf *modest_conf); /** @@ -124,8 +121,13 @@ gboolean modest_ui_editor_window_set_subject_header(const gchar *subject, gpoint gboolean modest_ui_editor_window_set_body(const gchar *body, gpointer window_data); gboolean modest_ui_editor_window_update_attachments(gpointer window_data); -GtkContainer *modest_ui_new_viewer_window (ModestUI *modest_ui, GtkWidget *msg_view, TnyMsgIface *msg, gpointer *user_data); +GtkContainer *modest_ui_new_viewer_window (ModestUI *modest_ui, GtkWidget *msg_view, + TnyMsgIface *msg, gpointer *user_data); -G_END_DECLS +/* + * the new API below + */ +GtkWidget *modest_ui_main_window (ModestUI *modest_ui); +G_END_DECLS #endif /* __MODEST_UI_H__ */