Re: Another question on GnomeCanvasItem
- From: Federico Mena Quintero <federico redhat com>
- To: loban enigma caltech edu
- CC: gnome-list gnome org
- Subject: Re: Another question on GnomeCanvasItem
- Date: Tue, 7 Dec 1999 13:47:10 -0500
> How do I delete a GnomeCanvasItem from memory? I found no
> gnome_canvas_item_free() function, or the equivalent of. Should I just
> do a g_free() on it? I'm assuming that if I do this on a GnomeCanvasPixbuf,
> then the corresponding GdkPixbuf isn't going to be unref-ed automatically.
gtk_object_destroy (GTK_OBJECT (my_item));
The GnomeCanvasPixbuf item will automatically unref the GdkPixbuf it
contains.
Federico
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]