Re: removing draw method patch
- From: Havoc Pennington <hp redhat com>
- To: Alexander Larsson <alla lysator liu se>
- Cc: gtk-devel-list gnome org
- Subject: Re: removing draw method patch
- Date: 04 Dec 2000 10:45:38 -0500
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]