GNOME Bugzilla – Bug 113086
GtkTreeView crash if item is dispose in focus_in_event
Last modified: 2011-02-04 16:12:02 UTC
Gtk app crashes if a GtkTreeView has only one item and it is removed in the focus in callback. Here is the error message: Gtk-ERROR **: file gtkrbtree.c: line 1189 (_gtk_rbtree_find_offset): assertion failed: (tree) aborting... Aborted To reproduce the problem: Compile & Run the example, when it come up click in the table. Note: if the Tab key is used to move the focus from the button to the table the problem doesn't happen.
Created attachment 16557 [details] Example
Created attachment 16833 [details] [review] proposed patch
Thanks for the testcase! Committed the patch on gtk-2-2 and HEAD.