On Sun, 30 Dec 2007 23:35:02 +0200
"Zeeshan Ali Khattak" <[EMAIL PROTECTED]> wrote:

> Hi Gregory!
> 
> >         - How do I remove the old object from the GtkBox ?
> >
> >         - How do I "free up" the old object (image/pixbuf) ? Do I
> >           simply unref it ?
> 
>    You don't have to do any of these. As a general rule of thumb in
> the gobject world, each object keeps it's own reference of the
> objects it needs. So when you set a new child on a GtkBox object,
> the GtkBox must unref the old child widget.

But don't you still first have to remove the old child?

--D.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to