From 0e0ce7571944e0a9d60294b6efdc855e6df52db8 Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Tue, 22 Feb 2011 01:17:44 -0800 Subject: Finished cleanup of outdated SP_OBJECT_REPR C macro. (bzr r10067) --- src/sp-symbol.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/sp-symbol.cpp') diff --git a/src/sp-symbol.cpp b/src/sp-symbol.cpp index 182a2756a..70ab4d173 100644 --- a/src/sp-symbol.cpp +++ b/src/sp-symbol.cpp @@ -259,7 +259,7 @@ sp_symbol_update (SPObject *object, SPCtx *ctx, guint flags) symbol = SP_SYMBOL (object); ictx = (SPItemCtx *) ctx; - if (SP_OBJECT_IS_CLONED (object)) { + if (object->cloned) { /* Cloned is actually renderable */ /* fixme: We have to set up clip here too */ @@ -413,7 +413,7 @@ sp_symbol_show (SPItem *item, NRArena *arena, unsigned int key, unsigned int fla symbol = SP_SYMBOL (item); - if (SP_OBJECT_IS_CLONED (symbol)) { + if (symbol->cloned) { /* Cloned is actually renderable */ if (((SPItemClass *) (parent_class))->show) { ai = ((SPItemClass *) (parent_class))->show (item, arena, key, flags); @@ -437,7 +437,7 @@ sp_symbol_hide (SPItem *item, unsigned int key) symbol = SP_SYMBOL (item); - if (SP_OBJECT_IS_CLONED (symbol)) { + if (symbol->cloned) { /* Cloned is actually renderable */ if (((SPItemClass *) (parent_class))->hide) ((SPItemClass *) (parent_class))->hide (item, key); @@ -449,7 +449,7 @@ sp_symbol_bbox(SPItem const *item, NRRect *bbox, Geom::Affine const &transform, { SPSymbol const *symbol = SP_SYMBOL(item); - if (SP_OBJECT_IS_CLONED (symbol)) { + if (symbol->cloned) { /* Cloned is actually renderable */ if (((SPItemClass *) (parent_class))->bbox) { @@ -463,7 +463,7 @@ static void sp_symbol_print (SPItem *item, SPPrintContext *ctx) { SPSymbol *symbol = SP_SYMBOL(item); - if (SP_OBJECT_IS_CLONED (symbol)) { + if (symbol->cloned) { /* Cloned is actually renderable */ sp_print_bind(ctx, &symbol->c2p, 1.0); -- cgit v1.2.3