summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cairo-quartz-surface.c22
1 files changed, 8 insertions, 14 deletions
diff --git a/src/cairo-quartz-surface.c b/src/cairo-quartz-surface.c
index 2aa83bebf..667828bd5 100644
--- a/src/cairo-quartz-surface.c
+++ b/src/cairo-quartz-surface.c
@@ -2195,20 +2195,6 @@ _cairo_quartz_surface_clipper_intersect_clip_path (cairo_surface_clipper_t *clip
return CAIRO_STATUS_SUCCESS;
}
-/**
- * _cairo_surface_is_quartz:
- * @surface: a #cairo_surface_t
- *
- * Checks if a surface is a #cairo_quartz_surface_t
- *
- * Return value: True if the surface is an quartz surface
- **/
-inline cairo_bool_t
-_cairo_surface_is_quartz (cairo_surface_t *surface)
-{
- return surface->backend == &cairo_quartz_surface_backend;
-}
-
// XXXtodo implement show_page; need to figure out how to handle begin/end
static const struct _cairo_surface_backend cairo_quartz_surface_backend = {
@@ -2479,6 +2465,14 @@ cairo_quartz_surface_get_cg_context (cairo_surface_t *surface)
return NULL;
}
+/**
+ * _cairo_surface_is_quartz:
+ * @surface: a #cairo_surface_t
+ *
+ * Checks if a surface is a #cairo_quartz_surface_t
+ *
+ * Return value: True if the surface is an quartz surface
+ **/
static cairo_bool_t
_cairo_surface_is_quartz (const cairo_surface_t *surface)
{