Mercurial > pidgin.yaz
comparison src/account.c @ 7956:1b8261f374ea
[gaim-migrate @ 8631]
This is the death of protocol numbers. There are probably now a few
functions that should now go away, but i'll let our crack team of crazy
patch writers figure out which ones they are.
out-of-tree and unofficial prpl-writers, rejoice!
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Mon, 29 Dec 2003 09:03:47 +0000 |
parents | 8ebd9038ef62 |
children | fa6395637e2c |
comparison
equal
deleted
inserted
replaced
7955:119a22025818 | 7956:1b8261f374ea |
---|---|
135 | 135 |
136 account = g_new0(GaimAccount, 1); | 136 account = g_new0(GaimAccount, 1); |
137 | 137 |
138 gaim_account_set_username(account, username); | 138 gaim_account_set_username(account, username); |
139 | 139 |
140 if(protocol_id) | 140 gaim_account_set_protocol_id(account, protocol_id ? protocol_id : GAIM_PROTO_DEFAULT); |
141 gaim_account_set_protocol_id(account, protocol_id); | |
142 else | |
143 gaim_account_set_protocol(account, GAIM_PROTO_DEFAULT); | |
144 | 141 |
145 account->settings = g_hash_table_new_full(g_str_hash, g_str_equal, | 142 account->settings = g_hash_table_new_full(g_str_hash, g_str_equal, |
146 g_free, delete_setting); | 143 g_free, delete_setting); |
147 account->ui_settings = g_hash_table_new_full(g_str_hash, g_str_equal, | 144 account->ui_settings = g_hash_table_new_full(g_str_hash, g_str_equal, |
148 g_free, (GDestroyNotify)g_hash_table_destroy); | 145 g_free, (GDestroyNotify)g_hash_table_destroy); |