Comment 4 for bug 79449

Revision history for this message
ville palo (vi64pa) wrote :

This is just a guess but there is a patch in current gnome cvs:

if (GTK_WIDGET_HAS_FOCUS (widget) && GTK_WIDGET_DRAWABLE (widget) &&
- notebook->cur_page->tab_label->window == event->window &&
- notebook->show_tabs && notebook->cur_page)
+ notebook->show_tabs && notebook->cur_page &&
+ notebook->cur_page->tab_label->window == event->window)

And it has comment:

"(gtk_notebook_draw_focus): fix potential crasher if cur_page is NULL"

So is it possible in this case that cur_page is NULL?