Re: Another question on GnomeCanvasItem



> 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.

Oops. I just remembered there's a gtk_object_unref function. Should I use
that? Will that automatically unref the GdkPixbuf that a GnomeCanvasPixbuf
has a reference to?


|       LOBAN AMAAN RAHMAN  <-- anagram of -->  AHA! AN ABNORMAL MAN!      |
|   Snail: MSC #763, Caltech, Pasadena, CA 91126, USA. ** 1-626-395-1407   |
|     Wired: loban@earthling.net, loban@caltech.edu, http://i.am/loban     |
| (Do 'finger loban@ugcs.caltech.edu' for my PGP public key and more info) |



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