summaryrefslogtreecommitdiffstats
path: root/src/sp-clippath.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-clippath.cpp')
-rw-r--r--src/sp-clippath.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sp-clippath.cpp b/src/sp-clippath.cpp
index f4503386c..3263bbb58 100644
--- a/src/sp-clippath.cpp
+++ b/src/sp-clippath.cpp
@@ -162,7 +162,7 @@ void CClipPath::update(SPCtx* ctx, unsigned int flags) {
SPObjectGroup *og = SP_OBJECTGROUP(object);
GSList *l = NULL;
for ( SPObject *child = og->firstChild(); child; child = child->getNext()) {
- g_object_ref(G_OBJECT(child));
+ sp_object_ref(child);
l = g_slist_prepend(l, child);
}
l = g_slist_reverse(l);
@@ -172,7 +172,7 @@ void CClipPath::update(SPCtx* ctx, unsigned int flags) {
if (flags || (child->uflags & (SP_OBJECT_MODIFIED_FLAG | SP_OBJECT_CHILD_MODIFIED_FLAG))) {
child->updateDisplay(ctx, flags);
}
- g_object_unref(G_OBJECT(child));
+ sp_object_unref(child);
}
SPClipPath *cp = SP_CLIPPATH(object);
@@ -200,7 +200,7 @@ void CClipPath::modified(unsigned int flags) {
SPObjectGroup *og = SP_OBJECTGROUP(object);
GSList *l = NULL;
for (SPObject *child = og->firstChild(); child; child = child->getNext()) {
- g_object_ref(G_OBJECT(child));
+ sp_object_ref(child);
l = g_slist_prepend(l, child);
}
l = g_slist_reverse(l);
@@ -210,7 +210,7 @@ void CClipPath::modified(unsigned int 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);
}
}