comparison libpurple/protocols/bonjour/mdns_avahi.c @ 31979:e895aebcb504

Convert bonjour prpl to use accessor functions purple_connection_get_protocol_data() and purple_connection_set_protocol_data().
author andrew.victor@mxit.com
date Mon, 29 Aug 2011 21:32:30 +0000
parents 9c8b28dc6656
children 0734b9c8c345
comparison
equal deleted inserted replaced
31977:50cdd401274a 31979:e895aebcb504
613 buddy->mdns_impl_data = NULL; 613 buddy->mdns_impl_data = NULL;
614 } 614 }
615 615
616 void _mdns_retrieve_buddy_icon(BonjourBuddy* buddy) { 616 void _mdns_retrieve_buddy_icon(BonjourBuddy* buddy) {
617 PurpleConnection *conn = purple_account_get_connection(buddy->account); 617 PurpleConnection *conn = purple_account_get_connection(buddy->account);
618 BonjourData *bd = conn->proto_data; 618 BonjourData *bd = purple_connection_get_protocol_data(conn);
619 AvahiSessionImplData *session_idata = bd->dns_sd_data->mdns_impl_data; 619 AvahiSessionImplData *session_idata = bd->dns_sd_data->mdns_impl_data;
620 AvahiBuddyImplData *idata = buddy->mdns_impl_data; 620 AvahiBuddyImplData *idata = buddy->mdns_impl_data;
621 gchar *name; 621 gchar *name;
622 622
623 g_return_if_fail(idata != NULL); 623 g_return_if_fail(idata != NULL);