pidgin/gtkblist.c

branch
soc.2013.gobjectification
changeset 34625
03d62b1660fc
parent 34622
753f46dd000f
child 34659
4fc616843cb2
--- a/pidgin/gtkblist.c	Sun Jun 23 15:50:57 2013 +0530
+++ b/pidgin/gtkblist.c	Sun Jun 23 17:20:37 2013 +0530
@@ -405,7 +405,7 @@
 	else
 		name = purple_chat_get_name(chat);
 
-	conv = purple_conversations_find_with_account(PURPLE_CONV_TYPE_CHAT, name,
+	conv = purple_conversations_find_chat_with_account(name,
 	                                             account);
 
 	if (conv != NULL) {
@@ -3860,7 +3860,7 @@
 			else
 				chat_name = g_strdup(purple_chat_get_name(chat));
 
-			conv = purple_conversations_find_with_account(PURPLE_CONV_TYPE_CHAT, chat_name,
+			conv = purple_conversations_find_chat_with_account(chat_name,
 					purple_chat_get_account(chat));
 			g_free(chat_name);
 		}
@@ -7298,7 +7298,7 @@
 		 * Or something.  --Mark
 		 */
 
-		c = purple_conversations_find_with_account(PURPLE_CONV_TYPE_IM, who, data->rq_data.account);
+		c = purple_conversations_find_im_with_account(who, data->rq_data.account);
 		if (c != NULL) {
 			icon = purple_im_conversation_get_icon(PURPLE_CONV_IM(c));
 			if (icon != NULL)

mercurial