aboutsummaryrefslogtreecommitdiffstats
path: root/src/gamma-quartz.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gamma-quartz.c')
-rw-r--r--src/gamma-quartz.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gamma-quartz.c b/src/gamma-quartz.c
index 1750c98..38e476d 100644
--- a/src/gamma-quartz.c
+++ b/src/gamma-quartz.c
@@ -21,6 +21,13 @@
static int
+quartz_is_available(void)
+{
+ return libgamma_is_method_available(LIBGAMMA_METHOD_QUARTZ_CORE_GRAPHICS);
+}
+
+
+static int
quartz_create(struct gamma_state **state_out)
{
return direct_create(state_out, LIBGAMMA_METHOD_QUARTZ_CORE_GRAPHICS, "quartz");