* Fixes NB#78699, there was a missing refilter before selecting the new folder
[modest] / src / modest-tny-account-store.c
index 71b5ebb..4a4c4d1 100644 (file)
@@ -1344,8 +1344,8 @@ modest_tny_account_store_get_smtp_specific_transport_account_for_open_connection
 {
        TnyDevice *device;
 
-       g_return_if_fail (self && MODEST_IS_TNY_ACCOUNT_STORE(self));
-       g_return_if_fail (account_name);
+       g_return_val_if_fail (self && MODEST_IS_TNY_ACCOUNT_STORE(self), NULL);
+       g_return_val_if_fail (account_name, NULL);
 
        /* Get the current connection: */
        device = modest_runtime_get_device ();
@@ -1680,7 +1680,8 @@ on_account_disconnect_when_removing (TnyCamelAccount *account,
 }
 
 static void
-on_account_removed (ModestAccountMgr *acc_mgr, const gchar *account,
+on_account_removed (ModestAccountMgr *acc_mgr, 
+                   const gchar *account,
                    gpointer user_data)
 {
        TnyAccount *store_account = NULL, *transport_account = NULL;