comparison libpurple/protocols/sametime/sametime.c @ 32790:3e7a7e14af62

Our API really shouldn't have a 'gc' in it anymore.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Mon, 24 Oct 2011 05:37:19 +0000
parents 6135b24cdc8a
children 0a043c8747c5
comparison
equal deleted inserted replaced
32789:fb2458f2326b 32790:3e7a7e14af62
1278 1278
1279 PurpleConnection *gc; 1279 PurpleConnection *gc;
1280 struct mwIdBlock who = { 0, 0 }; 1280 struct mwIdBlock who = { 0, 0 };
1281 struct mwConversation *conv; 1281 struct mwConversation *conv;
1282 1282
1283 gc = purple_conversation_get_gc(g_conv); 1283 gc = purple_conversation_get_connection(g_conv);
1284 if(pd->gc != gc) 1284 if(pd->gc != gc)
1285 return; /* not ours */ 1285 return; /* not ours */
1286 1286
1287 if(purple_conversation_get_type(g_conv) != PURPLE_CONV_TYPE_IM) 1287 if(purple_conversation_get_type(g_conv) != PURPLE_CONV_TYPE_IM)
1288 return; /* wrong type */ 1288 return; /* wrong type */
2526 PurpleConnection *gc; 2526 PurpleConnection *gc;
2527 2527
2528 gconv = convo_get_gconv(conv); 2528 gconv = convo_get_gconv(conv);
2529 if(! gconv) return; 2529 if(! gconv) return;
2530 2530
2531 gc = purple_conversation_get_gc(gconv); 2531 gc = purple_conversation_get_connection(gconv);
2532 if(! gc) return; 2532 if(! gc) return;
2533 2533
2534 purple_conversation_set_features(gconv, purple_connection_get_flags(gc)); 2534 purple_conversation_set_features(gconv, purple_connection_get_flags(gc));
2535 } 2535 }
2536 2536