From fa86d3390e339923b20a68c9e489eff9bfca3c3b Mon Sep 17 00:00:00 2001 From: buliabyak <> Date: Sat, 27 Mar 2010 01:32:59 -0300 Subject: [PATCH] make SP_OBJECT_ID usable again --- src/sp-object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2