comparison src/gtkconv.c @ 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 c8bf2da398e3
comparison
equal deleted inserted replaced
7089:2cd3756a637b 7090:04f9f7440bc3
2235 GaimConversation *conv; 2235 GaimConversation *conv;
2236 GaimGtkWindow *gtkwin; 2236 GaimGtkWindow *gtkwin;
2237 GtkWidget *menu; 2237 GtkWidget *menu;
2238 GList *child; 2238 GList *child;
2239 2239
2240 g_return_val_if_fail(g_list_find(gaim_get_windows(), win) != NULL, FALSE); 2240 if (g_list_find(gaim_get_windows(), win) == NULL)
2241 return FALSE;
2241 2242
2242 conv = gaim_window_get_active_conversation(win); 2243 conv = gaim_window_get_active_conversation(win);
2243 2244
2244 if (conv == NULL) 2245 if (conv == NULL)
2245 return FALSE; 2246 return FALSE;