When is g_object_ref needed ?
- From: Frédéric Terraza <fterraza free fr>
- To: gtk-list gnome org
- Subject: When is g_object_ref needed ?
- Date: Mon, 03 Oct 2005 08:29:12 +0200
Hello,
I must use g_object_unref to free a gdk or a gtk object. There are lots
of deprecated functions that are now replaced by g_object_unref (such as
g_pixmap_unref, gdk_gc_unref).
But must I use g_object_ref after the creation of a pixmap or a gc,
since there used to be g_pixmap_ref and g_gc_ref functions ?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]