Mercurial > pidgin
comparison libpurple/protocols/mxit/voicevideo.c @ 31935:4b15c5c68aa4
Don't access PurpleConnection->proto_data directly, rather use the access functions.
author | andrew.victor@mxit.com |
---|---|
date | Tue, 23 Aug 2011 20:43:41 +0000 |
parents | e8d4755ef84b |
children |
comparison
equal
deleted
inserted
replaced
31934:5dafa68c8eb0 | 31935:4b15c5c68aa4 |
---|---|
61 * @param who The username of the contact. | 61 * @param who The username of the contact. |
62 * @return The media capabilities supported | 62 * @return The media capabilities supported |
63 */ | 63 */ |
64 PurpleMediaCaps mxit_media_caps(PurpleAccount *account, const char *who) | 64 PurpleMediaCaps mxit_media_caps(PurpleAccount *account, const char *who) |
65 { | 65 { |
66 struct MXitSession* session = purple_account_get_connection(account)->proto_data; | 66 struct MXitSession* session = purple_connection_get_protocol_data(purple_account_get_connection(account)); |
67 PurpleBuddy* buddy; | 67 PurpleBuddy* buddy; |
68 struct contact* contact; | 68 struct contact* contact; |
69 PurpleMediaCaps capa = PURPLE_MEDIA_CAPS_NONE; | 69 PurpleMediaCaps capa = PURPLE_MEDIA_CAPS_NONE; |
70 | 70 |
71 purple_debug_info(MXIT_PLUGIN_ID, "mxit_media_caps: buddy '%s'\n", who); | 71 purple_debug_info(MXIT_PLUGIN_ID, "mxit_media_caps: buddy '%s'\n", who); |