From: Sergio Villar Senin Date: Mon, 26 May 2008 10:54:46 +0000 (+0000) Subject: * Fixes NB#85818, close the editor window when the accounts are removed X-Git-Tag: git_migration_finished~1348 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=bd27b54640bf7f83c3f869cc65a521e6f16e6386;hp=732e5a039a74024b353936e3626f6180db3516f5 * Fixes NB#85818, close the editor window when the accounts are removed pmo-trunk-r4566 --- diff --git a/src/modest-tny-account-store.c b/src/modest-tny-account-store.c index cbfc2b0..f086183 100644 --- a/src/modest-tny-account-store.c +++ b/src/modest-tny-account-store.c @@ -1850,8 +1850,8 @@ remove_transport_account (ModestTnyAccountStore *self, /* Remove it from the list of accounts and notify the observers. Do not need to wait for account disconnection */ - tny_list_remove (priv->transport_accounts, (GObject *) transport_account); g_signal_emit (G_OBJECT (self), signals [ACCOUNT_REMOVED_SIGNAL], 0, transport_account); + tny_list_remove (priv->transport_accounts, (GObject *) transport_account); /* Remove the OUTBOX of the account from the global outbox */ outbox = g_hash_table_lookup (priv->outbox_of_transport, transport_account);