--- a/pidgin/gtkblist.c Thu Jun 27 20:27:41 2013 +0530 +++ b/pidgin/gtkblist.c Thu Jun 27 23:00:47 2013 +0530 @@ -4697,11 +4697,9 @@ menu = NULL; } - ims = pidgin_conversations_find_unseen_list(PURPLE_CONV_TYPE_IM, - PIDGIN_UNSEEN_TEXT, FALSE, 0); - - chats = pidgin_conversations_find_unseen_list(PURPLE_CONV_TYPE_CHAT, - PIDGIN_UNSEEN_NICK, FALSE, 0); + ims = pidgin_conversations_get_unseen_ims(PIDGIN_UNSEEN_TEXT, FALSE, 0); + + chats = pidgin_conversations_get_unseen_chats(PIDGIN_UNSEEN_NICK, FALSE, 0); if(ims && chats) convs = g_list_concat(ims, chats); @@ -4730,12 +4728,10 @@ switch (event->button) { case 1: - convs = pidgin_conversations_find_unseen_list(PURPLE_CONV_TYPE_IM, - PIDGIN_UNSEEN_TEXT, FALSE, 1); + convs = pidgin_conversations_get_unseen_ims(PIDGIN_UNSEEN_TEXT, FALSE, 1); if(!convs) - convs = pidgin_conversations_find_unseen_list(PURPLE_CONV_TYPE_CHAT, - PIDGIN_UNSEEN_NICK, FALSE, 1); + convs = pidgin_conversations_get_unseen_chats(PIDGIN_UNSEEN_NICK, FALSE, 1); if (convs) { pidgin_conv_present_conversation((PurpleConversation*)convs->data); g_list_free(convs); @@ -4771,11 +4767,9 @@ gtkblist->menutrayicon = NULL; } - ims = pidgin_conversations_find_unseen_list(PURPLE_CONV_TYPE_IM, - PIDGIN_UNSEEN_TEXT, FALSE, 0); - - chats = pidgin_conversations_find_unseen_list(PURPLE_CONV_TYPE_CHAT, - PIDGIN_UNSEEN_NICK, FALSE, 0); + ims = pidgin_conversations_get_unseen_ims(PIDGIN_UNSEEN_TEXT, FALSE, 0); + + chats = pidgin_conversations_get_unseen_chats(PIDGIN_UNSEEN_NICK, FALSE, 0); if(ims && chats) convs = g_list_concat(ims, chats);