Re: resizing tables with widget and unref



"needles@industrialmusic.com" <needles@industrialmusic.com> writes:
> Any ideas to what I should do?

Use gtk_object_destroy(), not gtk_object_unref(). You can only unref
if you own a reference, and you don't own a reference it appears.

> Seems to me there maybe should also be a gtk_table_unattach to 
> compliment gtk_table_attach.
> 

Use gtk_container_remove() for this. Also, gtk_object_destroy() will
automatically remove the widget from its container.

Havoc




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]