diff src/conversation.c @ 5860:52d5fad43950

[gaim-migrate @ 6291] Fixed a couple of run-time type check warnings. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 14 Jun 2003 06:38:30 +0000
parents 96e5b32e75ad
children 059d95c67cda
line wrap: on
line diff
--- a/src/conversation.c	Sat Jun 14 06:06:40 2003 +0000
+++ b/src/conversation.c	Sat Jun 14 06:38:30 2003 +0000
@@ -454,13 +454,13 @@
 
 	win = g_malloc0(sizeof(GaimWindow));
 
+	windows = g_list_append(windows, win);
+
 	win->ui_ops = gaim_get_win_ui_ops();
 
 	if (win->ui_ops != NULL && win->ui_ops->new_window != NULL)
 		win->ui_ops->new_window(win);
 
-	windows = g_list_append(windows, win);
-
 	return win;
 }