aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/exchange-operations/exchange-config-listener.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/exchange-operations/exchange-config-listener.c')
-rw-r--r--plugins/exchange-operations/exchange-config-listener.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/exchange-operations/exchange-config-listener.c b/plugins/exchange-operations/exchange-config-listener.c
index d41384d79d..1a114b6baf 100644
--- a/plugins/exchange-operations/exchange-config-listener.c
+++ b/plugins/exchange-operations/exchange-config-listener.c
@@ -368,7 +368,7 @@ add_folder_esource (ExchangeAccount *account,
gboolean is_contacts_folder = TRUE, group_new = FALSE, source_new = FALSE;
const char *offline = NULL;
int mode;
- ESourceList *source_list;
+ ESourceList *source_list = NULL;
client = gconf_client_get_default ();
@@ -555,7 +555,7 @@ remove_account_esource (ExchangeAccount *account,
gboolean found_group;
const char *source_uid;
GConfClient *client;
- ESourceList *source_list;
+ ESourceList *source_list = NULL;
/* Remove the ESource group, to remove all the folders in a component */
@@ -655,7 +655,7 @@ remove_folder_esource (ExchangeAccount *account,
const char *source_uid;
GSList *ids, *temp_ids, *node_to_be_deleted;
GConfClient *client;
- ESourceList *source_list;
+ ESourceList *source_list = NULL;
client = gconf_client_get_default ();
@@ -817,8 +817,8 @@ account_added (EAccountList *account_list, EAccount *account)
g_signal_emit (config_listener, signals[EXCHANGE_ACCOUNT_CREATED], 0,
exchange_account);
- add_sources (exchange_account);
exchange_account_connect (exchange_account);
+ add_sources (exchange_account);
}
struct account_update_data {