gegl r1220 - in trunk: . gegl
- From: ok svn gnome org
- To: svn-commits-list gnome org
- Subject: gegl r1220 - in trunk: . gegl
- Date: Fri, 26 Jan 2007 16:12:25 +0000 (GMT)
Author: ok
Date: 2007-01-26 16:12:24 +0000 (Fri, 26 Jan 2007)
New Revision: 1220
ViewCVS link: http://svn.gnome.org/viewcvs/gegl?rev=1220&view=rev
Modified:
trunk/ChangeLog
trunk/gegl/gegl-graph.c
trunk/gegl/gegl-node.c
trunk/gegl/gegl-node.h
Log:
Fixed the memory management semantics of GeglNode's, they are
reference counted. If they are created by a parent the parent
holds the initial reference, and doing a manual un_ref on the
node will break it free from the parent, if this is not done
the node will be destroyed when the parent itself is unreferenced
the last time.
* gegl/gegl-graph.c: (gegl_node_add_child),
(gegl_node_remove_child):
* gegl/gegl-node.[ch]: (dispose):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]