summaryrefslogtreecommitdiff
path: root/src/cairo-surface.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2006-05-01 15:44:58 -0700
committerCarl Worth <cworth@cworth.org>2006-05-02 11:38:28 -0700
commit41e288a88023cac9ced77099bceced41cf526a99 (patch)
treeee9933ab3326db8978285a1d2c2f3208b003a282 /src/cairo-surface.c
parent0e4527c67e623801544be05de32f21a0c10e5b5d (diff)
Make backend-specific function set a surface error on type mismatch.
If any backend-specific, surface-modifying function is called with the wrong surface type we set an error on that surface.
Diffstat (limited to 'src/cairo-surface.c')
-rw-r--r--src/cairo-surface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-surface.c b/src/cairo-surface.c
index 9a15db4f6..f905dfd05 100644
--- a/src/cairo-surface.c
+++ b/src/cairo-surface.c
@@ -108,7 +108,7 @@ const cairo_surface_t _cairo_surface_nil_read_error = {
* breakpoint in _cairo_error() to generate a stack trace for when the
* user causes cairo to detect an error.
**/
-static void
+void
_cairo_surface_set_error (cairo_surface_t *surface,
cairo_status_t status)
{