[crossfire] GTK question

Nicolas Weeger nicolas.weeger at laposte.net
Tue Oct 4 12:58:37 CDT 2005


Hello.

In gx11.c, function buildLoginDialog, there is a call to:
1116	gtk_box_pack_start(GTK_BOX(vbox),hbox,TRUE,TRUE,0);
followed a few lines later by:
1198	gtk_box_pack_start(GTK_BOX(vbox),hbox,FALSE,FALSE,0);
with vbox & hbox the same values.

The 2nd line generated a warning in the console:
[ ERROR  ] (Library::Gtk-CRITICAL) gtk_box_pack_start: assertion
`child->parent == NULL' failed
so i guess one is not exactly required :)
Which one, now, i don't know, since i don't really master GTK.

Ryo

    
    


More information about the crossfire mailing list