Mercurial > pidgin.yaz
comparison src/prpl.c @ 4966:54cd43869333
[gaim-migrate @ 5300]
fun stuff
this makes the modify account dialog make a little more sense for jabber,
and makes irc accounts distinguishable in the assorted dropdowns.
however, there is a slight catch. IRC accounts now take the form of
nick@server. The first time you log on with an IRC account, it will change
it for you. However, if you try to edit the account before it gets signed
on, the server will revert to the default (irc.freenode.net).
So go log in with all of your IRC accounts before you go editing them ;-)
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Thu, 03 Apr 2003 02:34:48 +0000 |
parents | f7150929332b |
children | 8e55a4d362a3 |
comparison
equal
deleted
inserted
replaced
4965:6e7082cf0892 | 4966:54cd43869333 |
---|---|
112 } | 112 } |
113 | 113 |
114 void unload_protocol(struct prpl *p) | 114 void unload_protocol(struct prpl *p) |
115 { | 115 { |
116 GList *c; | 116 GList *c; |
117 struct proto_user_split *pus; | |
117 struct proto_user_opt *puo; | 118 struct proto_user_opt *puo; |
118 if (p->name) | 119 if (p->name) |
119 g_free(p->name); | 120 g_free(p->name); |
121 | |
122 c = p->user_splits; | |
123 while (c) { | |
124 pus = c->data; | |
125 g_free(pus->label); | |
126 g_free(pus->def); | |
127 g_free(pus); | |
128 c = c->next; | |
129 } | |
130 g_list_free(p->user_splits); | |
131 p->user_splits = NULL; | |
132 | |
120 c = p->user_opts; | 133 c = p->user_opts; |
121 while (c) { | 134 while (c) { |
122 puo = c->data; | 135 puo = c->data; |
123 g_free(puo->label); | 136 g_free(puo->label); |
124 g_free(puo->def); | 137 g_free(puo->def); |