Mercurial > pidgin.yaz
diff libpurple/protocols/jabber/jabber.c @ 32708:10e5000326a5
Convert code to use the purple_account accessor functions.
author | andrew.victor@mxit.com |
---|---|
date | Sat, 01 Oct 2011 21:04:35 +0000 |
parents | f75041cb3fec |
children | 2ec94166be43 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.c Sat Oct 01 18:21:43 2011 +0000 +++ b/libpurple/protocols/jabber/jabber.c Sat Oct 01 21:04:35 2011 +0000 @@ -3163,7 +3163,7 @@ const char *cmd, char **args, char **error, void *data) { PurpleAccount *account = purple_conversation_get_account(conv); - JabberStream *js = purple_connection_get_protocol_data(account->gc); + JabberStream *js = purple_connection_get_protocol_data(purple_account_get_connection(account)); const gchar *who; gchar *description; PurpleBuddy *buddy; @@ -3575,7 +3575,7 @@ const char *cmd, char **args, char **error, void *data) { PurpleAccount *account = purple_conversation_get_account(conv); - JabberStream *js = purple_connection_get_protocol_data(account->gc); + JabberStream *js = purple_connection_get_protocol_data(purple_account_get_connection(account)); if (js->pep) { /* if no argument was given, unset mood */