summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-06-01 10:09:16 -0700
committerEric Anholt <eric@anholt.net>2009-06-01 10:37:37 -0700
commit19bc0f2f1d75b1514b22d0bb737bad67ff8d1ee6 (patch)
treed6d889016de272442c21d0f8cc304e78ab39aa3b
parent87b764908a38cbb4159ac76d8b7d1d08a24b838e (diff)
[gl] Fix check-def.sh for GL surface.
-rw-r--r--src/cairo-gl-surface.c2
-rw-r--r--src/cairo-gl.h6
2 files changed, 1 insertions, 7 deletions
diff --git a/src/cairo-gl-surface.c b/src/cairo-gl-surface.c
index 299500f5..a241e7b5 100644
--- a/src/cairo-gl-surface.c
+++ b/src/cairo-gl-surface.c
@@ -73,7 +73,7 @@ typedef struct _cairo_gl_composite_setup {
static const cairo_surface_backend_t _cairo_gl_surface_backend;
-const cairo_gl_context_t _nil_context = {
+static const cairo_gl_context_t _nil_context = {
CAIRO_REFERENCE_COUNT_INVALID,
CAIRO_STATUS_NO_MEMORY
};
diff --git a/src/cairo-gl.h b/src/cairo-gl.h
index 6b7fee25..9d8eea4a 100644
--- a/src/cairo-gl.h
+++ b/src/cairo-gl.h
@@ -45,9 +45,6 @@ typedef struct _cairo_gl_context cairo_gl_context_t;
cairo_public cairo_gl_context_t *
cairo_gl_context_reference (cairo_gl_context_t *context);
-cairo_public cairo_status_t
-cairo_gl_context_status (cairo_gl_context_t *context);
-
cairo_public void
cairo_gl_context_destroy (cairo_gl_context_t *context);
@@ -56,9 +53,6 @@ cairo_gl_surface_create (cairo_gl_context_t *ctx,
cairo_content_t content,
int width, int height);
-cairo_public cairo_gl_context_t *
-cairo_gl_surface_get_context (cairo_surface_t *abstract_surface);
-
cairo_public void
cairo_gl_surface_set_size (cairo_surface_t *surface, int width, int height);