summaryrefslogtreecommitdiff
path: root/src/cairo-device.c
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2010-12-09 10:34:31 +0100
committerAndrea Canciani <ranma42@gmail.com>2011-01-01 13:05:12 +0100
commited24deaa2eaefb5e11ff900d4466474592f66d33 (patch)
tree37a394fe616b2f2241268bfaf0fda370b6c8d2f1 /src/cairo-device.c
parent19b840a9044f873657f0c0dbb3ccf82a13d43888 (diff)
downloadcairo-ed24deaa2eaefb5e11ff900d4466474592f66d33.tar.gz
mesh: Add mesh pattern type and enum values
Add the mesh pattern type and an error status to be used to report an incorrect construction of the pattern. Update the backends to make them ready to handle the new pattern type, even if it cannot be created yet.
Diffstat (limited to 'src/cairo-device.c')
-rw-r--r--src/cairo-device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cairo-device.c b/src/cairo-device.c
index 15b048477..a32b97124 100644
--- a/src/cairo-device.c
+++ b/src/cairo-device.c
@@ -156,6 +156,7 @@ _cairo_device_create_in_error (cairo_status_t status)
case CAIRO_STATUS_INVALID_WEIGHT:
case CAIRO_STATUS_USER_FONT_NOT_IMPLEMENTED:
case CAIRO_STATUS_INVALID_CONTENT:
+ case CAIRO_STATUS_INVALID_MESH_CONSTRUCTION:
default:
_cairo_error_throw (CAIRO_STATUS_NO_MEMORY);
return (cairo_device_t *) &_nil_device;