X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-runtime.c;h=f39b5c2bb4d4cca3da34cd40470d1671d7722468;hb=51d27f5ec40e7f91c13e5d51827ff8b89dd8cc4d;hp=ed4cf76b0113d27ff5d57a331fdab105ef25c38e;hpb=e46546c5c14f2c3b601a03f633b266a5616b9710;p=modest diff --git a/src/modest-runtime.c b/src/modest-runtime.c index ed4cf76..f39b5c2 100644 --- a/src/modest-runtime.c +++ b/src/modest-runtime.c @@ -93,10 +93,18 @@ modest_runtime_get_account_mgr (void) return modest_singletons_get_account_mgr (_singletons); } +ModestEmailClipboard* +modest_runtime_get_email_clipboard (void) +{ + g_return_val_if_fail (_singletons, NULL); + return modest_singletons_get_email_clipboard (_singletons); +} + ModestTnyAccountStore* modest_runtime_get_account_store (void) { - g_return_val_if_fail (_singletons, NULL); + if (!_singletons) + return NULL; return modest_singletons_get_account_store (_singletons); }