Ron Martin wrote:
>
> Hi there.
>
> I have noticed that in interface.c, Glade will do a
> gtk_object_set_data_full() on all the widgets to the parent widget. I
> was wondering why. I was under the impression that a widget will delete
> its children when it is told to delete itself. Perhaps there is another
> reason to use gtk_object_set_data_full()?
It is just to make sure that when calling lookup_widget() you never
get an invalid pointer. If we didn't ref the widgets pointed to and they
were destroyed somewhere this could happen.
Damon
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list