Re: removing draw method patch



Alexander Larsson <alla lysator liu se> writes:
> 
> This patch introduces a bug in GtkList.
> 
> gtk_list_item_expose() calls gtk_widget_draw_focus() which ends up in
> gtk_list_item_draw_focus() doing gtk_widget_draw(widget, NULL). This
> exposes the widget again, and it loops until the stack is full.
> 

Good catch. GtkListItem is totally broken: it has expose code that
draws one way, then the expose handler calls _draw() which overwrites 
whatever was exposed so you never see whatever the expose handler
drew.

Havoc





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]