libpurple/protocols/jabber/libgtalk.c

branch
soc.2013.gobjectification
changeset 34634
90fa70aa7e28
parent 34627
08733a7475df
child 34670
9bd5bd903dc7
--- a/libpurple/protocols/jabber/libgtalk.c	Sun Jun 23 20:29:09 2013 +0530
+++ b/libpurple/protocols/jabber/libgtalk.c	Sun Jun 23 21:45:33 2013 +0530
@@ -229,11 +229,11 @@
 	if (!params || g_hash_table_lookup_extended(params, "message", NULL, NULL)) {
 		char *body = g_hash_table_lookup(params, "body");
 		if (user && *user) {
-			PurpleConversation *conv =
+			PurpleIMConversation *im =
 					purple_im_conversation_new(acct, user);
-			purple_conversation_present(conv);
+			purple_conversation_present(PURPLE_CONVERSATION(im));
 			if (body && *body)
-				purple_conv_send_confirm(conv, body);
+				purple_conversation_send_confirm(PURPLE_CONVERSATION(im), body);
 		}
 	} else if (g_hash_table_lookup_extended(params, "roster", NULL, NULL)) {
 		char *name = g_hash_table_lookup(params, "name");

mercurial