Re: Gtk-CRITICAL gtkbin.c: line 217
| From: | Steph | Date: | Fri, 14 Jun 2002 08:41:18 +0000 |
| Subject: | Re: Gtk-CRITICAL gtkbin.c: line 217 | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-2121@lists.php.net to get a copy of this message | ||
remove() should have worked .. any clue why it didn't?
----- Original Message -----
From: "Miles Phillips" <miles@sag411.com>
To: "PHP-GTK" <php-gtk-general@lists.php.net>
Sent: Wednesday, June 12, 2002 3:01 PM
Subject: [PHP-GTK] Gtk-CRITICAL gtkbin.c: line 217
> I have an application I'm working with, that has to show a window, then
> hide it, then make it reappear at different times. I've declared the
> window globally then it gets called in one function to populate, then a
> second function gets it to run its db query, and hide the window. When
> the window reappears the next time, it comes back with the old content
> instead of the new and the error Gtk-CRITICAL **: file gtkbin.c: line
> 217 (gtk_bin_add): assertion `bin->chile == NULL' failed.
>
> Which I'm taking to mean that even tho the rest of the widgets weren't
> declared globally, they are still there? I played around with the
> remove() function, but didn't seem to get it correct. Would someone
> mind telling me if my assumption sounds right, and if so, how to correct
> it?
>
> Many thanks,
>
> Miles Phillips
>