diff 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
line wrap: on
line diff
--- a/libpurple/protocols/sametime/sametime.c	Mon Oct 24 04:48:42 2011 +0000
+++ b/libpurple/protocols/sametime/sametime.c	Mon Oct 24 05:37:19 2011 +0000
@@ -1280,7 +1280,7 @@
   struct mwIdBlock who = { 0, 0 };
   struct mwConversation *conv;
 
-  gc = purple_conversation_get_gc(g_conv);
+  gc = purple_conversation_get_connection(g_conv);
   if(pd->gc != gc)
     return; /* not ours */
 
@@ -2528,7 +2528,7 @@
   gconv = convo_get_gconv(conv);
   if(! gconv) return;
 
-  gc = purple_conversation_get_gc(gconv);
+  gc = purple_conversation_get_connection(gconv);
   if(! gc) return;
 
   purple_conversation_set_features(gconv, purple_connection_get_flags(gc));