Re: Gtk-CRITICIAL message after destroying GtkSpinbutton



Luciano Chavez <lnx1138 us ibm com> writes: 
Doing this eliminates the Gtk-CRITICAL problem. Is this hack necessary
because the GtkSpinbutton does not check to see if a timeout function
is registered to deregister it before being destroyed?

Is this a GTK bug or am I doing something wrong?

It is basically a GTK bug, GtkSpinButton seems to assume it will get a
button release event to remove the timer, but it doesn't since the
button is destroyed. I think the destroy implementation in
gtkspinbutton.c should probably remove the timer.

Why not file a report on bugzilla.gnome.org, so this can be addressed
in a future release.

Havoc



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