GType gis_object_get_type(void);
-static inline GisPoint *gis_object_center(GisObject *object)
-{
- return &GIS_OBJECT(object)->center;
-}
+/**
+ * gis_object_center:
+ * @object: The #GisObject to get the center of
+ *
+ * Get the #GisPoint representing the center of an object
+ *
+ * Returns: the center point
+ */
+#define gis_object_center(object) \
+ (&GIS_OBJECT(object)->center)
#endif