diff src/conversation.c @ 12624:851b0bd7eb52

[gaim-migrate @ 14960] busy busy busy... * fixed some unused variable warnings in a few places * fixed memleak in the searchresults notify * added more button types to the searchresults notify (IM, Info, Invite, Join, and arbitrary labels) * added a conversation ui op to present a conversation, since there appears to be no way to actually initiate an IM without breaking the core/ui split. gaim_conversation_present now ends up calling gaim_gtkconv_present_conversation * changed sametime prpl to use the searchresults notify instead of the requests API for its "ambiguous user" dialog * it should be possible to use the searchresults notify for room listing, if anyone is thusly interested committer: Tailor Script <tailor@pidgin.im>
author Christopher O'Brien <siege@pidgin.im>
date Thu, 22 Dec 2005 17:16:57 +0000
parents 204bd8fac61f
children fee6a32644a4
line wrap: on
line diff
--- a/src/conversation.c	Thu Dec 22 16:06:41 2005 +0000
+++ b/src/conversation.c	Thu Dec 22 17:16:57 2005 +0000
@@ -511,6 +511,18 @@
 
 
 void
+gaim_conversation_present(GaimConversation *conv) {
+	GaimConversationUiOps *ops;
+
+	g_return_if_fail(conv != NULL);
+
+	ops  = gaim_conversation_get_ui_ops(conv);
+	if(ops && ops->present)
+		ops->present(conv);
+}
+
+
+void
 gaim_conversation_set_features(GaimConversation *conv, GaimConnectionFlags features)
 {
 	g_return_if_fail(conv != NULL);