From e0b68c3da77c07ea249cae31206f43dd094a5a2a Mon Sep 17 00:00:00 2001 From: Sergio Villar Senin Date: Wed, 18 Mar 2009 17:14:35 +0000 Subject: [PATCH] Fixes FwNULL 11/16 pmo-trunk-r8176 --- src/hildon2/modest-platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hildon2/modest-platform.c b/src/hildon2/modest-platform.c index 4b2d5c2..b9bf211 100644 --- a/src/hildon2/modest-platform.c +++ b/src/hildon2/modest-platform.c @@ -2274,7 +2274,7 @@ modest_platform_connect_if_remote_and_perform (GtkWindow *parent_window, account = TNY_ACCOUNT (g_object_ref (folder_store)); } - if (tny_account_get_account_type (account) == TNY_ACCOUNT_TYPE_STORE) { + if (account && (tny_account_get_account_type (account) == TNY_ACCOUNT_TYPE_STORE)) { if (!modest_tny_folder_store_is_remote (TNY_FOLDER_STORE (account))) { /* No need to connect a local account */ if (callback) -- 1.7.9.5