changeset 1902:9aa7cd7f5948

[gaim-migrate @ 1912] whoops, wrong part committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 28 May 2001 18:47:21 +0000
parents 5584d61915eb
children 835fcc223341
files src/conversation.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/conversation.c	Mon May 28 18:23:06 2001 +0000
+++ b/src/conversation.c	Mon May 28 18:47:21 2001 +0000
@@ -405,6 +405,8 @@
 		gtkspell_detach(GTK_TEXT(c->entry));
 
 	if (!c->is_chat) {
+		if (c->gc && c->gc->prpl && c->gc->prpl->remove_convo)
+			(*c->gc->prpl->remove_convo)(c->gc, c);
 		if (display_options & OPT_DISP_ONE_WINDOW) {
 			if (g_list_length(conversations) > 1) {
 				gtk_notebook_remove_page(GTK_NOTEBOOK(convo_notebook),
@@ -422,8 +424,6 @@
 			c->window = NULL;
 		}
 	} else {
-		if (c->gc && c->gc->prpl && c->gc->prpl->remove_convo)
-			(*c->gc->prpl->remove_convo)(c->gc, c);
 		if (display_options & OPT_DISP_ONE_CHAT_WINDOW) {
 			if (g_list_length(chats) > 1) {
 				gtk_notebook_remove_page(GTK_NOTEBOOK(chat_notebook),