Mercurial > pidgin
diff src/gtkconv.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/gtkconv.c Sat Jun 14 06:06:40 2003 +0000 +++ b/src/gtkconv.c Sat Jun 14 06:38:30 2003 +0000 @@ -2016,7 +2016,8 @@ conv = gaim_window_get_active_conversation(win); - g_return_val_if_fail(conv != NULL, FALSE); + if (conv == NULL) + return FALSE; account = gaim_conversation_get_account(conv); gtkwin = GAIM_GTK_WINDOW(win); @@ -3682,7 +3683,6 @@ if (gaim_window_get_conversation_count(win) == 1) g_timeout_add(0, (GSourceFunc)update_send_as_selection, win); - } static void