Mercurial > pidgin
diff libpurple/protocols/sametime/sametime.c @ 32305: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 | 7353c0c50117 |
children | 6135b24cdc8a |
line wrap: on
line diff
--- a/libpurple/protocols/sametime/sametime.c Tue Oct 18 04:47:58 2011 +0000 +++ b/libpurple/protocols/sametime/sametime.c Tue Oct 18 18:47:48 2011 +0000 @@ -2531,7 +2531,7 @@ gc = purple_conversation_get_gc(gconv); if(! gc) return; - purple_conversation_set_features(gconv, gc->flags); + purple_conversation_set_features(gconv, purple_connection_get_flags(gc)); } @@ -3701,7 +3701,7 @@ pd = mwPurplePluginData_new(gc); /* while we do support images, the default is to not offer it */ - gc->flags |= PURPLE_CONNECTION_NO_IMAGES; + purple_connection_set_flags(gc, PURPLE_CONNECTION_NO_IMAGES); user = g_strdup(purple_account_get_username(account));