Re: Errors
| From: | Markus Fischer | Date: | Sun, 07 Oct 2001 23:19:20 +0000 |
| Subject: | Re: Errors | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-215@lists.php.net to get a copy of this message | ||
On Sun, Oct 07, 2001 at 07:19:35PM -0300, André Vieira wrote :
> 1 ) Somebody knows why this error?
>
> Gtk-CRITICAL **: file gtkbox.c: line 332 (gtk_box_pack_start):
> assertion `child-
> >parent == NULL' failed
>
> Gtk-CRITICAL **: file gtkbox.c: line 369 (gtk_box_pack_end):
> assertion `child->p arent == NULL' failed
You try to put a $widget into a GtkVBox which already has a
parent, eg.
$vbox = &new GtkVBox;
$label = &new GtkLabel('test');
$vbox->pack_start($label);
$vbox->pack_start($label);
This yields exactly to your error above.
> 2) What i can do to errors like this one don`t open MS-DOS
> PROMPTs windows in run-time?
Develop your programs properly :)
Seriously I can't answer this one.
- Markus
--
Markus Fischer, http://guru.josefine.at/~mfischer/
EMail: mfischer@guru.josefine.at
PGP Public Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
PGP Fingerprint: D3B0 DD4F E12B F911 3CE1 C2B5 D674 B445 C227 2BD0
-All your scripts are belong to Zend-