Mercurial > pidgin
comparison src/gaimrc.c @ 2397:520257562955
[gaim-migrate @ 2410]
changing aim_users to GSList. this works better for me since in gaim-core i had them as a GSList. besides, it saves memory.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sun, 30 Sep 2001 19:58:48 +0000 |
parents | 021ba044ab0b |
children | 86eaeb064e82 |
comparison
equal
deleted
inserted
replaced
2396:78fab38249a2 | 2397:520257562955 |
---|---|
37 | 37 |
38 /* for people like myself, who are too lazy to add an away msg :) */ | 38 /* for people like myself, who are too lazy to add an away msg :) */ |
39 #define BORING_DEFAULT_AWAY_MSG "sorry, i ran out for a while. bbl" | 39 #define BORING_DEFAULT_AWAY_MSG "sorry, i ran out for a while. bbl" |
40 #define MAX_VALUES 10 | 40 #define MAX_VALUES 10 |
41 | 41 |
42 GList *aim_users = NULL; | 42 GSList *aim_users = NULL; |
43 guint misc_options; | 43 guint misc_options; |
44 guint logging_options; | 44 guint logging_options; |
45 guint blist_options; | 45 guint blist_options; |
46 guint convo_options; | 46 guint convo_options; |
47 guint im_options; | 47 guint im_options; |
597 } else { | 597 } else { |
598 } | 598 } |
599 | 599 |
600 u = gaimrc_read_user(f); | 600 u = gaimrc_read_user(f); |
601 | 601 |
602 aim_users = g_list_append(aim_users, u); | 602 aim_users = g_slist_append(aim_users, u); |
603 } | 603 } |
604 } | 604 } |
605 | 605 |
606 static void gaimrc_write_users(FILE *f) | 606 static void gaimrc_write_users(FILE *f) |
607 { | 607 { |
608 GList *usr = aim_users; | 608 GSList *usr = aim_users; |
609 struct aim_user *u; | 609 struct aim_user *u; |
610 | 610 |
611 fprintf(f, "users {\n"); | 611 fprintf(f, "users {\n"); |
612 | 612 |
613 while (usr) { | 613 while (usr) { |