changeset 15615:b74a3bec8dcb

Let's use the core function instead of using the uiops function directly when possible. This makes my 'Hide Conversations' plugin work.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sun, 11 Feb 2007 01:40:04 +0000
parents 3f10bd32ef1c
children 4ea624932995 62b3ff6e513a
files pidgin/gtkblist.c pidgin/gtkdialogs.c pidgin/gtkdocklet.c
diffstat 3 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkblist.c	Sat Feb 10 01:14:57 2007 +0000
+++ b/pidgin/gtkblist.c	Sun Feb 11 01:40:04 2007 +0000
@@ -302,7 +302,7 @@
 											   chat->account);
 
 	if (conv != NULL)
-		pidgin_conv_present_conversation(conv);
+		gaim_conversation_present(conv);
 
 	serv_join_chat(chat->account->gc, chat->components);
 }
@@ -3549,7 +3549,7 @@
 			convs = pidgin_conversations_find_unseen_list(GAIM_CONV_TYPE_IM,
 															PIDGIN_UNSEEN_TEXT, TRUE, 1);
 			if (convs) {
-				pidgin_conv_present_conversation((GaimConversation*)convs->data);
+				gaim_conversation_present((GaimConversation*)convs->data);
 				g_list_free(convs);
 			}
 			break;
--- a/pidgin/gtkdialogs.c	Sat Feb 10 01:14:57 2007 +0000
+++ b/pidgin/gtkdialogs.c	Sun Feb 11 01:40:04 2007 +0000
@@ -724,7 +724,7 @@
 	if (conv == NULL)
 		conv = gaim_conversation_new(GAIM_CONV_TYPE_IM, account, username);
 
-	pidgin_conv_present_conversation(conv);
+	gaim_conversation_present(conv);
 }
 
 static gboolean
--- a/pidgin/gtkdocklet.c	Sat Feb 10 01:14:57 2007 +0000
+++ b/pidgin/gtkdocklet.c	Sun Feb 11 01:40:04 2007 +0000
@@ -587,7 +587,7 @@
 			if (status == DOCKLET_STATUS_ONLINE_PENDING || status == DOCKLET_STATUS_AWAY_PENDING) {
 				GList *l = get_pending_list(1);
 				if (l != NULL) {
-					pidgin_conv_present_conversation((GaimConversation *)l->data);
+					gaim_conversation_present((GaimConversation *)l->data);
 					g_list_free(l);
 				}
 			} else {