Re: GnomeCanvasItem



On Thu, 2 Aug 2001, Petr Blahos wrote:

>
> Hi,
>
> >
> > How can i destroy a GnomeCanvasItem ? I know that i can hide it but i also
> > want to free
> > the memory that it use if this is possible.
>
> gtk_object_destroy

Actually, you want gtk_object_unref().  _destroy() won't decrement the
reference count or free the actual GnomeCanvasItem structure.

James.





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