summaryrefslogtreecommitdiffstats
path: root/src/sp-item-group.cpp
diff options
context:
space:
mode:
authorMarkus Engel <markus.engel@tum.de>2013-04-01 21:04:54 +0000
committerMarkus Engel <markus.engel@tum.de>2013-04-01 21:04:54 +0000
commit7eb077e4097aed62c11e5b4e97ff4b16039e73fa (patch)
tree9febff369feb724dd8e10ac5a8327897dfad35a8 /src/sp-item-group.cpp
parentReplaced all casting macros with glib-independent ones. (diff)
downloadinkscape-7eb077e4097aed62c11e5b4e97ff4b16039e73fa.tar.gz
inkscape-7eb077e4097aed62c11e5b4e97ff4b16039e73fa.zip
Replaced calls to g_object_(un)ref with sp_object_(un)ref.
(bzr r11608.1.65)
Diffstat (limited to 'src/sp-item-group.cpp')
-rw-r--r--src/sp-item-group.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp-item-group.cpp b/src/sp-item-group.cpp
index a95b347cf..cc617c9c4 100644
--- a/src/sp-item-group.cpp
+++ b/src/sp-item-group.cpp
@@ -217,7 +217,7 @@ void CGroup::update(SPCtx *ctx, unsigned int flags) {
child->updateDisplay(ctx, flags);
}
}
- g_object_unref (G_OBJECT (child));
+ sp_object_unref(child);
}
}
@@ -244,7 +244,7 @@ void CGroup::modified(guint flags) {
if (flags || (child->mflags & (SP_OBJECT_MODIFIED_FLAG | SP_OBJECT_CHILD_MODIFIED_FLAG))) {
child->emitModified(flags);
}
- g_object_unref (G_OBJECT (child));
+ sp_object_unref(child);
}
}