Mercurial > pidgin
diff libpurple/protocols/qq/buddy_list.c @ 25906:716b14deee97
a few struct hiding clean ups
author | Gary Kramlich <grim@reaperworld.com> |
---|---|
date | Thu, 15 Jan 2009 22:46:15 +0000 |
parents | 65cfc59858cf |
children | 4b8c4870b13a |
line wrap: on
line diff
--- a/libpurple/protocols/qq/buddy_list.c Thu Jan 15 22:37:48 2009 +0000 +++ b/libpurple/protocols/qq/buddy_list.c Thu Jan 15 22:46:15 2009 +0000 @@ -232,7 +232,7 @@ /* create no-auth buddy */ buddy = qq_buddy_new(gc, bs.uid); } - bd = (buddy == NULL) ? NULL : (qq_buddy_data *)buddy->proto_data; + bd = (buddy == NULL) ? NULL : (qq_buddy_data *)purple_buddy_get_protocol_data(buddy); if (bd == NULL) { purple_debug_error("QQ", "Got an online buddy %u, but not in my buddy list\n", bs.uid); @@ -567,7 +567,7 @@ /* create no-auth buddy */ buddy = qq_buddy_new(gc, bs.uid); } - bd = (buddy == NULL) ? NULL : (qq_buddy_data *) buddy->proto_data; + bd = (buddy == NULL) ? NULL : (qq_buddy_data *)purple_buddy_get_protocol_data(buddy); if (bd == NULL) { purple_debug_warning("QQ", "Got status of no-auth buddy %u\n", bs.uid); return;