diff options
Diffstat (limited to 'src/sp-flowregion.cpp')
| -rw-r--r-- | src/sp-flowregion.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/sp-flowregion.cpp b/src/sp-flowregion.cpp index 3c4bc84a1..0c99d6f9a 100644 --- a/src/sp-flowregion.cpp +++ b/src/sp-flowregion.cpp @@ -108,7 +108,7 @@ void CFlowregion::update(SPCtx *ctx, unsigned int flags) { GSList *l = NULL; for ( SPObject *child = object->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); @@ -125,7 +125,7 @@ void CFlowregion::update(SPCtx *ctx, unsigned int flags) { child->updateDisplay(ctx, flags); } } - g_object_unref (G_OBJECT(child)); + sp_object_unref(child); } group->UpdateComputed(); @@ -155,7 +155,7 @@ void CFlowregion::modified(guint flags) { GSList *l = NULL; for ( SPObject *child = object->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); @@ -165,7 +165,7 @@ void CFlowregion::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); } } @@ -291,7 +291,7 @@ void CFlowregionExclude::update(SPCtx *ctx, unsigned int flags) { GSList *l = NULL; for ( SPObject *child = object->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); @@ -308,7 +308,7 @@ void CFlowregionExclude::update(SPCtx *ctx, unsigned int flags) { child->updateDisplay(ctx, flags); } } - g_object_unref( G_OBJECT(child) ); + sp_object_unref(child); } group->UpdateComputed(); @@ -337,7 +337,7 @@ void CFlowregionExclude::modified(guint flags) { GSList *l = NULL; for ( SPObject *child = object->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); @@ -347,7 +347,7 @@ void CFlowregionExclude::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); } } |
