aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/exchange-operations/exchange-account-setup.c
diff options
context:
space:
mode:
authorSushma Rai <rsushma@src.gnome.org>2005-06-15 13:22:46 +0800
committerSushma Rai <rsushma@src.gnome.org>2005-06-15 13:22:46 +0800
commitfbf8d7bd849e334416eafce022496acb31b45bc7 (patch)
tree3eb6b9717cfef890b93b0106c1beba95e57375bb /plugins/exchange-operations/exchange-account-setup.c
parentd9ebf288b8082c89a9b5c808c2554a0468a20384 (diff)
downloadgsoc2013-evolution-fbf8d7bd849e334416eafce022496acb31b45bc7.tar
gsoc2013-evolution-fbf8d7bd849e334416eafce022496acb31b45bc7.tar.gz
gsoc2013-evolution-fbf8d7bd849e334416eafce022496acb31b45bc7.tar.bz2
gsoc2013-evolution-fbf8d7bd849e334416eafce022496acb31b45bc7.tar.lz
gsoc2013-evolution-fbf8d7bd849e334416eafce022496acb31b45bc7.tar.xz
gsoc2013-evolution-fbf8d7bd849e334416eafce022496acb31b45bc7.tar.zst
gsoc2013-evolution-fbf8d7bd849e334416eafce022496acb31b45bc7.zip
Fixed a crash while trying ot edit non-exchange account.
svn path=/trunk/; revision=29502
Diffstat (limited to 'plugins/exchange-operations/exchange-account-setup.c')
-rw-r--r--plugins/exchange-operations/exchange-account-setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/exchange-operations/exchange-account-setup.c b/plugins/exchange-operations/exchange-account-setup.c
index 0aadf230a9..06dc3fbb63 100644
--- a/plugins/exchange-operations/exchange-account-setup.c
+++ b/plugins/exchange-operations/exchange-account-setup.c
@@ -215,8 +215,6 @@ org_gnome_exchange_settings(EPlugin *epl, EConfigHookItemFactoryData *data)
GtkTextBuffer *buffer;
GtkTextIter start, end;
- account = exchange_operations_get_exchange_account ();
-
target_account = (EMConfigTargetAccount *)data->config->target;
source_url = e_account_get_string (target_account->account, E_ACCOUNT_SOURCE_URL);
url = camel_url_new(source_url, NULL);
@@ -232,6 +230,8 @@ org_gnome_exchange_settings(EPlugin *epl, EConfigHookItemFactoryData *data)
return data->old;
}
+ account = exchange_operations_get_exchange_account ();
+
oof_data = g_new0 (OOFData, 1);
oof_data->state = FALSE;