summaryrefslogtreecommitdiffstats
path: root/src/unclump.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2011-02-22 09:17:44 +0000
committerJon A. Cruz <jon@joncruz.org>2011-02-22 09:17:44 +0000
commit0e0ce7571944e0a9d60294b6efdc855e6df52db8 (patch)
tree3cd452f4abfb51a8f4ffbbb08d001f651ff65d29 /src/unclump.cpp
parentFinished cleanup of outdated SP_OBJECT_STYLE C macro. (diff)
downloadinkscape-0e0ce7571944e0a9d60294b6efdc855e6df52db8.tar.gz
inkscape-0e0ce7571944e0a9d60294b6efdc855e6df52db8.zip
Finished cleanup of outdated SP_OBJECT_REPR C macro.
(bzr r10067)
Diffstat (limited to 'src/unclump.cpp')
-rw-r--r--src/unclump.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unclump.cpp b/src/unclump.cpp
index 951719900..d027a6986 100644
--- a/src/unclump.cpp
+++ b/src/unclump.cpp
@@ -297,7 +297,7 @@ unclump_push (SPItem *from, SPItem *what, double dist)
//g_print ("push %s at %g,%g from %g,%g by %g,%g, dist %g\n", what->getId(), it[Geom::X],it[Geom::Y], p[Geom::X],p[Geom::Y], by[Geom::X],by[Geom::Y], dist);
what->set_i2d_affine(what->i2d_affine() * move);
- what->doWriteTransform(SP_OBJECT_REPR(what), what->transform, NULL);
+ what->doWriteTransform(what->getRepr(), what->transform, NULL);
}
/**
@@ -320,7 +320,7 @@ unclump_pull (SPItem *to, SPItem *what, double dist)
//g_print ("pull %s at %g,%g to %g,%g by %g,%g, dist %g\n", what->getId(), it[Geom::X],it[Geom::Y], p[Geom::X],p[Geom::Y], by[Geom::X],by[Geom::Y], dist);
what->set_i2d_affine(what->i2d_affine() * move);
- what->doWriteTransform(SP_OBJECT_REPR(what), what->transform, NULL);
+ what->doWriteTransform(what->getRepr(), what->transform, NULL);
}