aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2003-03-07 20:53:19 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2003-03-07 20:53:19 +0800
commit43d118565480985640afeeffb8e6902852eb0db3 (patch)
tree6e3b0b6d93df15787bc51520614bd11a5a28e055 /calendar/gui
parenta9b73c75a8d3bf94b323720ca709f4872e53bfae (diff)
downloadgsoc2013-evolution-43d118565480985640afeeffb8e6902852eb0db3.tar.gz
gsoc2013-evolution-43d118565480985640afeeffb8e6902852eb0db3.tar.zst
gsoc2013-evolution-43d118565480985640afeeffb8e6902852eb0db3.zip
create the array to be returned only once.
2003-03-07 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/save.c (get_calendars_to_load): create the array to be returned only once. svn path=/trunk/; revision=20217
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/alarm-notify/save.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/alarm-notify/save.c b/calendar/gui/alarm-notify/save.c
index 605b02c6b2..e03183ed5d 100644
--- a/calendar/gui/alarm-notify/save.c
+++ b/calendar/gui/alarm-notify/save.c
@@ -131,11 +131,11 @@ get_calendars_to_load (void)
* may not have saved the list of calendar yet.
*/
- l = gconf_client_get_list(gconf_client_get_default(), KEY_CALENDARS, GCONF_VALUE_STRING, NULL);
+ l = gconf_client_get_list (gconf_client_get_default (), KEY_CALENDARS, GCONF_VALUE_STRING, NULL);
+ uris = g_ptr_array_new ();
while (l) {
n = l->next;
- uris = g_ptr_array_new ();
- g_ptr_array_add(uris, l->data);
+ g_ptr_array_add (uris, l->data);
g_slist_free_1(l);
l = n;
}
title='2003-07-19 22:39:11 +0800'>2003-07-192-2/+2 * Updated to 20030610 (and changed source URI)hosokawa2003-06-102-3/+3 * Update pkg-descr by Japan Post Ministry organizational reform to Japannork2003-04-041-3/+2 * Update to 25 Mar 2003.nork2003-04-041-5/+5 * Update to 2002-03-07.nork2003-03-282-2/+2 * Update to 1 Dec 2002.nork2003-02-203-3/+3 * Update to 20021001 and unbreak.knu2002-11-292-2/+2 * o Rollback PORTCOMMENT modifications while this feature's implementationlioux2002-11-112-2/+1 * Use PORTCOMMENT in the Makefile, and whack the pkg-comment.adamw2002-11-072-1/+2 * Update to 20020701.naddy2002-08-312-2/+2 * - Update to 20020601pat2002-07-283-5/+6 * Update to 20020501pat2002-06-252-2/+2 * Update to 20020401pat2002-06-012-2/+2 * Update to 20020301.knu2002-04-273-5/+6 * Update to 20020201pat2002-03-182-3/+3 * update to 20010801.sf2001-09-252-2/+2 * update to 20010701.sf2001-08-292-2/+2 * update to 20010601.sf2001-07-302-2/+2 * update to 20010501.sf2001-07-022-2/+2