diff options
author | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-09-21 23:28:22 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-09-21 23:28:22 +0800 |
commit | c27e999441069bf9b2a5994e9bde6313e9839cb0 (patch) | |
tree | 2d38a7e87ff5f2e9a9bcab786284592b6334103f /modules/calendar/e-memo-shell-backend.c | |
parent | 6e7cb87f8783dfca7af2ec40b669344adf77f79f (diff) | |
download | gsoc2013-evolution-c27e999441069bf9b2a5994e9bde6313e9839cb0.tar.gz gsoc2013-evolution-c27e999441069bf9b2a5994e9bde6313e9839cb0.tar.zst gsoc2013-evolution-c27e999441069bf9b2a5994e9bde6313e9839cb0.zip |
Port ETaskShellBackend to GSettings
Diffstat (limited to 'modules/calendar/e-memo-shell-backend.c')
-rw-r--r-- | modules/calendar/e-memo-shell-backend.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/calendar/e-memo-shell-backend.c b/modules/calendar/e-memo-shell-backend.c index e9c8233a99..5e24425678 100644 --- a/modules/calendar/e-memo-shell-backend.c +++ b/modules/calendar/e-memo-shell-backend.c @@ -648,7 +648,7 @@ e_memo_shell_backend_get_selected_memo_lists (EMemoShellBackend *memo_shell_back GSettings *settings; char **strv; gint i; - GSList *selected_memo_list = NULL; + GSList *selected_memo_lists = NULL; g_return_val_if_fail ( E_IS_MEMO_SHELL_BACKEND (memo_shell_backend), NULL); @@ -660,12 +660,12 @@ e_memo_shell_backend_get_selected_memo_lists (EMemoShellBackend *memo_shell_back if (strv != NULL) { for (i = 0; strv[i] != NULL; i++) - selected_memo_list = g_slist_append (selected_memo_list, g_strdup (strv[i])); + selected_memo_lists = g_slist_append (selected_memo_lists, g_strdup (strv[i])); g_strfreev (strv); } - return selected_memo_list; + return selected_memo_lists; } void @@ -678,7 +678,7 @@ e_memo_shell_backend_set_selected_memo_lists (EMemoShellBackend *memo_shell_back g_return_if_fail (E_IS_MEMO_SHELL_BACKEND (memo_shell_backend)); - for (l = selected_memo_list; l != NULL; l = l->next) + for (l = selected_memo_lists; l != NULL; l = l->next) g_ptr_array_add (array, l->data); settings = g_settings_new ("org.gnome.evolution.calendar"); |