diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-11-18 22:09:48 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-11-23 03:50:09 +0800 |
commit | 0c83b9b25d967ce6d6793ef851e86bc272a2f129 (patch) | |
tree | d97a5083bd6a03c273f744a60b56205dcf2befaf /modules/calendar/e-memo-shell-backend.c | |
parent | c75f58d01bb7bbe139cd73a85894dc5f50185816 (diff) | |
download | gsoc2013-evolution-0c83b9b25d967ce6d6793ef851e86bc272a2f129.tar.gz gsoc2013-evolution-0c83b9b25d967ce6d6793ef851e86bc272a2f129.tar.zst gsoc2013-evolution-0c83b9b25d967ce6d6793ef851e86bc272a2f129.zip |
Miscellaneous cleanups.
Diffstat (limited to 'modules/calendar/e-memo-shell-backend.c')
-rw-r--r-- | modules/calendar/e-memo-shell-backend.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/calendar/e-memo-shell-backend.c b/modules/calendar/e-memo-shell-backend.c index abbfdf7e0f..05b76cdd88 100644 --- a/modules/calendar/e-memo-shell-backend.c +++ b/modules/calendar/e-memo-shell-backend.c @@ -646,9 +646,9 @@ GSList * e_memo_shell_backend_get_selected_memo_lists (EMemoShellBackend *memo_shell_backend) { GSettings *settings; - char **strv; - gint i; GSList *selected_memo_lists = NULL; + char **strv; + gint ii; g_return_val_if_fail ( E_IS_MEMO_SHELL_BACKEND (memo_shell_backend), NULL); @@ -659,8 +659,8 @@ e_memo_shell_backend_get_selected_memo_lists (EMemoShellBackend *memo_shell_back if (strv != NULL) { - for (i = 0; strv[i] != NULL; i++) - selected_memo_lists = g_slist_append (selected_memo_lists, g_strdup (strv[i])); + for (ii = 0; strv[ii] != NULL; ii++) + selected_memo_lists = g_slist_append (selected_memo_lists, g_strdup (strv[ii])); g_strfreev (strv); } @@ -673,13 +673,13 @@ e_memo_shell_backend_set_selected_memo_lists (EMemoShellBackend *memo_shell_back GSList *selected_memo_lists) { GSettings *settings; - GSList *l; + GSList *link; GPtrArray *array = g_ptr_array_new (); g_return_if_fail (E_IS_MEMO_SHELL_BACKEND (memo_shell_backend)); - for (l = selected_memo_lists; l != NULL; l = l->next) - g_ptr_array_add (array, l->data); + for (link = selected_memo_lists; link != NULL; link = link->next) + g_ptr_array_add (array, link->data); g_ptr_array_add (array, NULL); settings = g_settings_new ("org.gnome.evolution.calendar"); |