X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-init.h;fp=src%2Fmodest-init.h;h=7a536e59caf0552a10f91002cd036d22a81d0bbf;hb=229002593675ff0798e51b225701b9d96eca7257;hp=74355e8fa7c9acccba83e8613597542b0b7b7aa7;hpb=fc17de93a7c16c28ce140bcc9748ae6eef23be3d;p=modest diff --git a/src/modest-init.h b/src/modest-init.h index 74355e8..7a536e5 100644 --- a/src/modest-init.h +++ b/src/modest-init.h @@ -61,6 +61,19 @@ gboolean modest_init_header_columns (gboolean overwrite); gboolean modest_init_local_folders (void); +/** + * modest_init_default_account_maybe: + * + * if there are accounts defined, but there is no default account, + * it will be defined. + * + * Returns: TRUE if there was a default account already, + * or one has been created or there are no accounts yet, + * returns FALSE in case of error + */ +gboolean modest_init_default_account_maybe (void); + + G_END_DECLS #endif /*__MODEST_INIT_H__*/