Mercurial > pidgin
diff libpurple/protocols/jabber/buddy.c @ 31995:3caef255ad47
Convert jabber prpl to use accessor functions purple_connection_get_protocol_data() and purple_connection_set_protocol_data().
author | andrew.victor@mxit.com |
---|---|
date | Tue, 30 Aug 2011 19:11:26 +0000 |
parents | 0cc718e10344 |
children | 2ec94166be43 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/buddy.c Tue Aug 30 18:34:11 2011 +0000 +++ b/libpurple/protocols/jabber/buddy.c Tue Aug 30 19:11:26 2011 +0000 @@ -557,7 +557,7 @@ PurpleAccount *account = purple_connection_get_account(gc); /* Publish the avatar as specified in XEP-0084 */ - jabber_avatar_set(gc->proto_data, img); + jabber_avatar_set(purple_connection_get_protocol_data(gc), img); /* Set the image in our vCard */ jabber_set_info(gc, purple_account_get_user_info(account));