breaking hard code freeze for bug-buddy


We have an strange bug in bug-buddy: When the GtkTextView is shown
automatically after gdb is finished, the internal bin->window pointer
is not pointing to the mapped window, and calling
gtk_widget_grab_focus on it makes gtk asserts (and crashing on

I can not reproduce this problem with a testcase for gtk+, so I'm not
sure where the problem is.

However I have a simple (and safe) workaround for that:
calling the grab_focus function after the widget has been realized.

This is the bug:

and this is the patch:

as you can see there are a lot of duplicates of it, so please, approve
this break.


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