Mercurial > pidgin.yaz
comparison libpurple/protocols/zephyr/zephyr.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 | 1877fd446f8d |
children | 2ec94166be43 |
comparison
equal
deleted
inserted
replaced
32707:f75041cb3fec | 32708:10e5000326a5 |
---|---|
1840 zephyr_inithosts(zephyr); | 1840 zephyr_inithosts(zephyr); |
1841 | 1841 |
1842 if (zephyr_subscribe_to(zephyr,"MESSAGE","PERSONAL",zephyr->username,NULL) != ZERR_NONE) { | 1842 if (zephyr_subscribe_to(zephyr,"MESSAGE","PERSONAL",zephyr->username,NULL) != ZERR_NONE) { |
1843 /* XXX don't translate this yet. It could be written better */ | 1843 /* XXX don't translate this yet. It could be written better */ |
1844 /* XXX error messages could be handled with more detail */ | 1844 /* XXX error messages could be handled with more detail */ |
1845 purple_notify_error(account->gc, NULL, | 1845 purple_notify_error(purple_account_get_connection(account), NULL, |
1846 "Unable to subscribe to messages", "Unable to subscribe to initial messages"); | 1846 "Unable to subscribe to messages", "Unable to subscribe to initial messages"); |
1847 return; | 1847 return; |
1848 } | 1848 } |
1849 | 1849 |
1850 purple_connection_set_state(gc, PURPLE_CONNECTED); | 1850 purple_connection_set_state(gc, PURPLE_CONNECTED); |