From 029fc51ab355bbf88572ce71ac422671f243c81e Mon Sep 17 00:00:00 2001 From: Javier Fernandez Garcia-Boente Date: Mon, 6 Aug 2007 14:57:51 +0000 Subject: [PATCH] * Removed a g_return_if_fail because this function is called from show_tollbar method with NULL in account parameter. pmo-trunk-r2938 --- src/maemo/modest-main-window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/maemo/modest-main-window.c b/src/maemo/modest-main-window.c index dfde800..6fba596 100644 --- a/src/maemo/modest-main-window.c +++ b/src/maemo/modest-main-window.c @@ -1263,7 +1263,7 @@ account_number_changed (TnyAccountStore *account_store, GtkAction *send_receive_all = NULL; g_return_if_fail (MODEST_IS_MAIN_WINDOW (user_data)); - g_return_if_fail (TNY_IS_ACCOUNT (account)); +/* g_return_if_fail (TNY_IS_ACCOUNT (account)); */ self = MODEST_MAIN_WINDOW (user_data); priv = MODEST_MAIN_WINDOW_GET_PRIVATE (self); -- 1.7.9.5