Mercurial > pidgin.yaz
diff src/gtkconv.c @ 4598:a064e437d5eb
[gaim-migrate @ 4883]
This should fix the window crash bug that Rob reported to me. I hope.
I blame gtk2.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Fri, 21 Feb 2003 23:02:36 +0000 |
parents | 7e1591c6d0d8 |
children | 4128761bacb8 |
line wrap: on
line diff
--- a/src/gtkconv.c Fri Feb 21 05:53:40 2003 +0000 +++ b/src/gtkconv.c Fri Feb 21 23:02:36 2003 +0000 @@ -1709,7 +1709,11 @@ win = (struct gaim_window *)user_data; - conv = gaim_window_get_conversation_at(win, page_num); + conv = gaim_window_get_conversation_at(win, page_num); + + if (conv == NULL) + return; + gc = gaim_conversation_get_gc(conv); gtkwin = GAIM_GTK_WINDOW(win); gtkconv = GAIM_GTK_CONVERSATION(conv);