Mercurial > pidgin.yaz
comparison libpurple/protocols/myspace/myspace.c @ 32767:2ec94166be43
On the way to hiding the PurpleConnection struct.
* Added purple_connection_get_flags() and purple_connection_set_flags()
* Use purple_connection_ accessor functions.
author | andrew.victor@mxit.com |
---|---|
date | Tue, 18 Oct 2011 18:47:48 +0000 |
parents | 10e5000326a5 |
children | a5f50581b7c0 |
comparison
equal
deleted
inserted
replaced
32766:ea2b621fd3ba | 32767:2ec94166be43 |
---|---|
2188 | 2188 |
2189 purple_debug_info("msim", "logging in %s\n", purple_account_get_username(acct)); | 2189 purple_debug_info("msim", "logging in %s\n", purple_account_get_username(acct)); |
2190 | 2190 |
2191 gc = purple_account_get_connection(acct); | 2191 gc = purple_account_get_connection(acct); |
2192 purple_connection_set_protocol_data(gc, msim_session_new(acct)); | 2192 purple_connection_set_protocol_data(gc, msim_session_new(acct)); |
2193 gc->flags |= PURPLE_CONNECTION_HTML | PURPLE_CONNECTION_NO_URLDESC; | 2193 purple_connection_set_flags(gc, PURPLE_CONNECTION_HTML | PURPLE_CONNECTION_NO_URLDESC); |
2194 | 2194 |
2195 /* | 2195 /* |
2196 * Lets wipe out our local list of blocked buddies. We'll get a | 2196 * Lets wipe out our local list of blocked buddies. We'll get a |
2197 * list of all blocked buddies from the server, and we shouldn't | 2197 * list of all blocked buddies from the server, and we shouldn't |
2198 * have stuff in the local list that isn't on the server list. | 2198 * have stuff in the local list that isn't on the server list. |