diff options
Diffstat (limited to 'modules/calendar/e-memo-shell-migrate.c')
-rw-r--r-- | modules/calendar/e-memo-shell-migrate.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/calendar/e-memo-shell-migrate.c b/modules/calendar/e-memo-shell-migrate.c index 771a889845..d85824767f 100644 --- a/modules/calendar/e-memo-shell-migrate.c +++ b/modules/calendar/e-memo-shell-migrate.c @@ -196,7 +196,7 @@ add_gw_esource (ESourceList *source_list, const gchar *group_name, const gchar ids = gconf_client_get_list (client, CALENDAR_CONFIG_MEMOS_SELECTED_MEMOS, GCONF_VALUE_STRING, &error); if (error != NULL) { g_warning("%s (%s) %s\n", G_STRLOC, G_STRFUNC, error->message); - g_error_free(error); + g_error_free (error); } ids = g_slist_append (ids, g_strdup (e_source_peek_uid (source))); gconf_client_set_list (client, CALENDAR_CONFIG_MEMOS_SELECTED_MEMOS, GCONF_VALUE_STRING, ids, NULL); @@ -240,10 +240,10 @@ e_memo_shell_backend_migrate (EShellBackend *shell_backend, EIterator *it; GConfClient *gconf_client = gconf_client_get_default (); al = e_account_list_new (gconf_client); - for (it = e_list_get_iterator((EList *)al); - e_iterator_is_valid(it); - e_iterator_next(it)) { - a = (EAccount *) e_iterator_get(it); + for (it = e_list_get_iterator ((EList *)al); + e_iterator_is_valid (it); + e_iterator_next (it)) { + a = (EAccount *) e_iterator_get (it); if (!a->enabled || !is_groupwise_account (a)) continue; url = camel_url_new (a->source->url, NULL); |