summaryrefslogtreecommitdiff
path: root/src/cairo-array.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2008-01-16 16:23:23 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2008-01-16 16:51:32 +0000
commit7111b18c27d7ee0439339a6aa72f0e4244f883f9 (patch)
tree162d5cf10b629ded2a44f8bb1cc64e4671a58cc7 /src/cairo-array.c
parent5cbc45488e276cb6e6ecfa7bc7dd4fae342de85e (diff)
downloadcairo-7111b18c27d7ee0439339a6aa72f0e4244f883f9.tar.gz
[cairo-surface] Introduce _cairo_surface_create_in_error().
Unexport all the static error surfaces and use a function to select the appropriate error surface for the status.
Diffstat (limited to 'src/cairo-array.c')
-rw-r--r--src/cairo-array.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cairo-array.c b/src/cairo-array.c
index 0313caa90..470b327cf 100644
--- a/src/cairo-array.c
+++ b/src/cairo-array.c
@@ -396,8 +396,7 @@ _cairo_user_data_array_get_data (cairo_user_data_array_t *array,
int i, num_slots;
cairo_user_data_slot_t *slots;
- /* We allow this to support degenerate objects such as
- * cairo_image_surface_nil. */
+ /* We allow this to support degenerate objects such as cairo_surface_nil. */
if (array == NULL)
return NULL;