Pedro Medeiros wrote:
> > The GtkLayout struct contains a GList *children, but messing with that
> > seems like a crude way of doing such a thing. Besides, I don't know
> > what the list really contains.
>
> Probably the data field in the GList is a child widget. Try:
> 
> for (list = layout; list != NULL; list = list->next)
>   gtk_widget_destroy(GTK_WIDGET(list->data));

 Sorry. I made a mistake:

 GList *list;

 for (list = GTK_LAYOUT(layout)->children; (...)

--
Pedro Medeiros

-- 
To unsubscribe: mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to