Mercurial > pidgin
changeset 12975:e0c9d63ad4a0
[gaim-migrate @ 15328]
I'm sure this will be a billion times more efficient. Ok, maybe not that
much but it doesn't make sense to call gaim_account_get_connection just for
fun.
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sat, 21 Jan 2006 01:58:13 +0000 |
parents | 7080dfef2077 |
children | 0a5b48576913 |
files | src/account.c |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/account.c Sat Jan 21 01:48:52 2006 +0000 +++ b/src/account.c Sat Jan 21 01:58:13 2006 +0000 @@ -1151,7 +1151,7 @@ gc = gaim_account_get_connection(account); if (gc != NULL) - serv_set_info(gaim_account_get_connection(account), user_info); + serv_set_info(gc, user_info); } void @@ -1169,8 +1169,7 @@ _("Change user information for %s"), gaim_account_get_username(account)); - gaim_request_input(gaim_account_get_connection(account), - NULL, primary, NULL, + gaim_request_input(gc, NULL, primary, NULL, gaim_account_get_user_info(account), TRUE, FALSE, ((gc != NULL) && (gc->flags & GAIM_CONNECTION_HTML) ? "html" : NULL), @@ -2076,7 +2075,7 @@ gc = gaim_account_get_connection(account); if (gc == NULL) return FALSE; - + prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(gc->prpl); if (!prpl_info || !prpl_info->offline_message)