[Gtk-sharp-list] GTK assertion failures

Rick Gruber rick@vanosten.net
Sat, 07 Sep 2002 15:27:06 +0200


Hi
I get on and on again assertion failures like the ones shown below. I do 
think that I am missing an important point, but which one??

I was able to resolve assertion failures for menus by moving the code 
for my derived MenuBar into the same file as the main application. But I 
do not think that this is the way to go.

Does anyone have a suggestion? I really cannot figure it out by myself :-(

Thank you very much ... Rick

PS: What I am actually doing is to try to port a Java Swing application 
to C#/GTK#. Be sure that I really love Mono and Gtk#.


InfoVocab::handleAppEvent: D_INFOVOCAB_EDIT_RESET
(<unknown>:1533): Gtk-CRITICAL **: file gtkbbox.c: line 290 
(gtk_button_box_set_layout): assertion `GTK_IS_BUTTON_BOX (widget)' failed

(<unknown>:1533): Gtk-CRITICAL **: file gtkbox.c: line 358 
(gtk_box_pack_start): assertion `GTK_IS_BOX (box)' failed

(<unknown>:1533): Gtk-CRITICAL **: file gtkbox.c: line 358 
(gtk_box_pack_start): assertion `GTK_IS_BOX (box)' failed

(<unknown>:1533): Gtk-CRITICAL **: file gtkbox.c: line 359 
(gtk_box_pack_start): assertion `GTK_IS_WIDGET (child)' failed

(<unknown>:1533): Gtk-CRITICAL **: file gtkcontainer.c: line 845 
(gtk_container_add): assertion `GTK_IS_CONTAINER