diff options
| author | bulia byak <buliabyak@gmail.com> | 2008-09-16 16:31:48 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2008-09-16 16:31:48 +0000 |
| commit | 69cf37d70723dca2edec3d8f5aecee35a97ebb1c (patch) | |
| tree | 730a60bced14740cdff7f00dc6401ef11fc48e36 /src/sp-item-group.cpp | |
| parent | remove unneeded ref, arenaitem is reffed when created on invoke_show and unre... (diff) | |
| download | inkscape-69cf37d70723dca2edec3d8f5aecee35a97ebb1c.tar.gz inkscape-69cf37d70723dca2edec3d8f5aecee35a97ebb1c.zip | |
remove extra unref; now ref/unref is done by show/hide; this used to stop this arenaitem from leaking, but this is now fixed properly in SPItem
(bzr r6819)
Diffstat (limited to 'src/sp-item-group.cpp')
| -rw-r--r-- | src/sp-item-group.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/sp-item-group.cpp b/src/sp-item-group.cpp index 38bf03bdc..cd3019d8e 100644 --- a/src/sp-item-group.cpp +++ b/src/sp-item-group.cpp @@ -605,7 +605,6 @@ void CGroup::onChildAdded(Inkscape::XML::Node *child) { if (ac) { nr_arena_item_append_child (v->arenaitem, ac); - nr_arena_item_unref (ac); } } } @@ -624,7 +623,6 @@ void CGroup::onChildAdded(Inkscape::XML::Node *child) { if (ac) { nr_arena_item_add_child (v->arenaitem, ac, NULL); nr_arena_item_set_order (ac, position); - nr_arena_item_unref (ac); } } } @@ -774,7 +772,6 @@ void CGroup::_showChildren (NRArena *arena, NRArenaItem *ai, unsigned int key, u if (ac) { nr_arena_item_add_child (ai, ac, ar); ar = ac; - nr_arena_item_unref (ac); } } l = g_slist_remove (l, o); |
