# HG changeset patch # User Stu Tomlinson # Date 1137808693 0 # Node ID e0c9d63ad4a02b0ef36577fc78665d27cc1310f5 # Parent 7080dfef2077116b114482c38ac2fd61c884a6af [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 diff -r 7080dfef2077 -r e0c9d63ad4a0 src/account.c --- 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)