Re: Glib object_unref
- From: José Alburquerque <jaalburquerque cox net>
- To: Marco La Porta <marco-laporta tiscali it>
- Cc: gtkmm-list gnome org
- Subject: Re: Glib object_unref
- Date: Fri, 07 Nov 2008 16:25:19 -0500
Marco La Porta said the following:
Hi all,
I'm tryng to use Gdk::PixbufAnimationIter to load an animated gif.
In the documentation i read that i have to free, after use, the
Glib::RefPtr<Gdk::PixbufAnimationIter> with Glib:: object_unref.
Where is defined Glib:: object_unref?
Did they mean that i have to use g_ object_unref directly on the RefPtr?
The docs are taken from the C API docs so statements like these appear.
There is no need to use g_object_unref because Glib::RefPtr takes care
of ref/unref automatically.
--
José Alburquerque
jaalburquerque cox net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]