From: <Ra...@la...> - 2015-10-23 14:39:39
|
I just ran across this assertion failure and wanted to document it somewhere in case someone else runs across it. I have a Glade file containing a window organized with a layout containing a vbox. The vbox contains two radio buttons with clicked signals defined. For some reason the cell/column containing the vbox was wider than the others so I found that by specifying a width request of 1 on the vbox the widths seemed to look ok. The problem was that as soon as I made this change I now get this assertion failure whenever I send :show to a Gtk::Builder object: Gtk-CRITICAL **:IA__gtk_accel_label_set_accel_closure: assertion 'gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed This appears to be related to the radio buttons in the vbox since I'm actually getting the assertion warning twice. It was an easy fix for me because I knew exactly what I changed to produce the warnings - I just removed the width request on the containing vbox. Hopefully this helps someone else who sees the assertion and wants a hint on where it might be coming from. Jon (This was from ruby-gnome2's gtk2 & builder from git master) |