summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbuliabyak <>2010-03-27 04:32:59 +0000
committerbuliabyak <>2010-03-27 04:32:59 +0000
commit10a42d2a553c5953b569804bd7262c604050d09c (patch)
treeb08eeda9f2d151084a949aeaa4cc18105cda11f3 /src
parentAdding in shape-record.h (diff)
downloadinkscape-10a42d2a553c5953b569804bd7262c604050d09c.tar.gz
inkscape-10a42d2a553c5953b569804bd7262c604050d09c.zip
make SP_OBJECT_ID usable again
(bzr r9237)
Diffstat (limited to 'src')
-rw-r--r--src/sp-object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-object.h b/src/sp-object.h
index f7ca0f3a3..633091668 100644
--- a/src/sp-object.h
+++ b/src/sp-object.h
@@ -45,7 +45,7 @@
#define SP_OBJECT_WRITE_ALL (1 << 2)
/* Convenience stuff */
-#define SP_OBJECT_ID(o) (((SPObject *) (o))->id)
+#define SP_OBJECT_ID(o) (((SPObject *) (o))->getId())
#define SP_OBJECT_REPR(o) (((SPObject *) (o))->repr)
#define SP_OBJECT_DOCUMENT(o) (((SPObject *) (o))->document)
#define SP_OBJECT_PARENT(o) (((SPObject *) (o))->parent)