X-Git-Url: http://pileus.org/git/?p=grits;a=blobdiff_plain;f=src%2Fobjects%2Fgis-object.h;h=313f454f49fe5c52a4c17ad1d2449f9f96f12f49;hp=b823161d656ee4259c4bfe3fbafcabe38d5541e5;hb=b87064909e6d20e1ee2995adae0c1ce5cb692d7e;hpb=7d7d6ae0531a85361ce0d8b997d988b653282847 diff --git a/src/objects/gis-object.h b/src/objects/gis-object.h index b823161..313f454 100644 --- a/src/objects/gis-object.h +++ b/src/objects/gis-object.h @@ -56,9 +56,7 @@ struct _GisObjectClass { GType gis_object_get_type(void); -static inline GisPoint *gis_object_center(GisObject *object) -{ - return &GIS_OBJECT(object)->center; -} +#define gis_object_center(object) \ + (&GIS_OBJECT(object)->center) #endif