diff src/dialogs.c @ 7118:bf630f7dfdcd

[gaim-migrate @ 7685] Here's a commit that I think will make faceprint happy. GaimWindow -> GaimConvWindow, GaimIm -> GaimConvIm, GaimChat -> GaimConvChat, GaimBlistChat -> GaimChat, and updated the API functions as well. Plugin authors are going to hunt me down and murder me. I can feel it.. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Thu, 02 Oct 2003 02:54:07 +0000
parents 6faeeecab0dc
children 208cb260d7a7
line wrap: on
line diff
--- a/src/dialogs.c	Thu Oct 02 02:15:36 2003 +0000
+++ b/src/dialogs.c	Thu Oct 02 02:54:07 2003 +0000
@@ -358,7 +358,7 @@
 }
 
 static void
-do_remove_chat(GaimBlistChat *chat)
+do_remove_chat(GaimChat *chat)
 {
 	gaim_blist_remove_chat(chat);
 	gaim_blist_save();
@@ -440,7 +440,7 @@
 				}
 			}
 		} else if(GAIM_BLIST_NODE_IS_CHAT(cnode)) {
-			GaimBlistChat *chat = (GaimBlistChat *)cnode;
+			GaimChat *chat = (GaimChat *)cnode;
 			cnode = cnode->next;
 			if(gaim_account_is_connected(chat->account))
 				gaim_blist_remove_chat(chat);
@@ -468,7 +468,7 @@
 	g_free(text);
 }
 
-void show_confirm_del_blist_chat(GaimBlistChat *chat)
+void show_confirm_del_blist_chat(GaimChat *chat)
 {
 	char *name = gaim_blist_chat_get_display_name(chat);
 	char *text = g_strdup_printf(_("You are about to remove the chat %s from your buddy list.  Do you want to continue?"), name);
@@ -539,7 +539,7 @@
 		if (conv == NULL)
 			conv = gaim_conversation_new(GAIM_CONV_IM, account, who);
 		else {
-			gaim_window_raise(gaim_conversation_get_window(conv));
+			gaim_conv_window_raise(gaim_conversation_get_window(conv));
 		}
 	}
 
@@ -1797,14 +1797,14 @@
 }
 
 static void
-alias_chat_cb(GaimBlistChat *chat, const char *new_alias)
+alias_chat_cb(GaimChat *chat, const char *new_alias)
 {
 	gaim_blist_alias_chat(chat, new_alias);
 	gaim_blist_save();
 }
 
 void
-alias_dialog_blist_chat(GaimBlistChat *chat)
+alias_dialog_blist_chat(GaimChat *chat)
 {
 	gaim_request_input(NULL, _("Alias Chat"), _("Alias chat"),
 					   _("Please enter an aliased name for this chat."),