# HG changeset patch # User Christian Hammond # Date 1045868556 0 # Node ID a064e437d5ebaa616e320c9950ce09f09790f40d # Parent 1969709eee1e8ac56239c8548bccd320cd071493 [gaim-migrate @ 4883] This should fix the window crash bug that Rob reported to me. I hope. I blame gtk2. committer: Tailor Script diff -r 1969709eee1e -r a064e437d5eb src/gtkconv.c --- 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);