Mercurial > pidgin
diff libpurple/protocols/yahoo/yahoo_profile.c @ 25130:16734635febf
Start hiding blist.h internals in prpls.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sat, 27 Sep 2008 06:33:42 +0000 |
parents | 18a1f0fe5f40 |
children | 8aa7d8bcbc7d |
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoo_profile.c Thu Sep 25 07:19:38 2008 +0000 +++ b/libpurple/protocols/yahoo/yahoo_profile.c Sat Sep 27 06:33:42 2008 +0000 @@ -715,7 +715,7 @@ /* Add the normal tooltip pairs */ yahoo_tooltip_text(b, user_info, TRUE); - if ((f = yahoo_friend_find(info_data->gc, b->name))) { + if ((f = yahoo_friend_find(info_data->gc, purple_buddy_get_name(b)))) { const char *ip; if ((ip = yahoo_friend_get_ip(f))) purple_notify_user_info_add_pair(user_info, _("IP Address"), ip); @@ -1215,7 +1215,9 @@ * in which case the user may or may not actually exist. * Hence this extra step. */ - f = yahoo_friend_find(b->account->gc, b->name); + PurpleAccount *account = purple_buddy_get_account(b); + f = yahoo_friend_find(purple_account_get_connection(account), + purple_buddy_get_name(b)); } g_string_append_printf(str, "%s<br><br>", f? _("Could not retrieve the user's profile. "