changeset 7090:04f9f7440bc3

[gaim-migrate @ 7655] Remove an assertion warning. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Tue, 30 Sep 2003 23:35:25 +0000
parents 2cd3756a637b
children 7b31e3e22f59
files src/gtkconv.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkconv.c	Tue Sep 30 23:31:35 2003 +0000
+++ b/src/gtkconv.c	Tue Sep 30 23:35:25 2003 +0000
@@ -2237,7 +2237,8 @@
 	GtkWidget *menu;
 	GList *child;
 
-	g_return_val_if_fail(g_list_find(gaim_get_windows(), win) != NULL, FALSE);
+	if (g_list_find(gaim_get_windows(), win) == NULL)
+		return FALSE;
 
 	conv = gaim_window_get_active_conversation(win);