X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-runtime.c;h=f39b5c2bb4d4cca3da34cd40470d1671d7722468;hp=ed4cf76b0113d27ff5d57a331fdab105ef25c38e;hb=40a8f5cbe03bd040fe3403dbfa6806df4fb6bc8a;hpb=e46546c5c14f2c3b601a03f633b266a5616b9710;ds=sidebyside 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); }