Bug in gtkbin.c line 217

From: Date: Sun, 26 Aug 2001 17:19:41 +0000
Subject: Bug in gtkbin.c line 217
Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-16@lists.php.net to get a copy of this message
Gtk-CRITICAL **: file gtkbin.c: line 217 (gtk_bin_add): assertion `bin->child == NULL' failed I get this error on Windows 2000 using PHP-GTK 1.0 with the following script: <?php dl('php_gtk.'.(stristr(PHP_OS, 'win')?'dll':'so')); function main_quit() { Gtk::main_quit(); } $window=&new GtkWindow(); $window->connect('delete_event', 'main_quit'); $vbox=&new GtkVBox(); $window->add($vbox); $vbox2=&new GtkVBox(); $window->add($vbox2); // comment out this line file://and the error disappears $window->show_all(); Gtk::main(); ?> Although it might not be completely correct to add two VBoxes to a window, it shouldn't give such error. Sander

« previous php.gtk.dev (#16) next »