diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2016-03-26 07:24:26 +1030 |
---|---|---|
committer | Adrian Johnson <ajohnson@redneon.com> | 2016-03-26 19:04:44 +1030 |
commit | c5ee3f11b5fb5a652466bbe407d2dc8e0ef4eb71 (patch) | |
tree | 663ed2fd42060e355da2bdff763f00d1bb2a8076 /src/cairo-misc.c | |
parent | 72c9a022ac2f1b9c9afa349e0977dcd89fa56f2d (diff) | |
download | cairo-c5ee3f11b5fb5a652466bbe407d2dc8e0ef4eb71.tar.gz |
Add CAIRO_STATUS_PNG_ERROR for errors returned by libpng
Diffstat (limited to 'src/cairo-misc.c')
-rw-r--r-- | src/cairo-misc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cairo-misc.c b/src/cairo-misc.c index 3c7c95986..d1ab7b3b0 100644 --- a/src/cairo-misc.c +++ b/src/cairo-misc.c @@ -158,6 +158,8 @@ cairo_status_to_string (cairo_status_t status) return "the target device has been finished"; case CAIRO_STATUS_JBIG2_GLOBAL_MISSING: return "CAIRO_MIME_TYPE_JBIG2_GLOBAL_ID used but no CAIRO_MIME_TYPE_JBIG2_GLOBAL data provided"; + case CAIRO_STATUS_PNG_ERROR: + return "error occurred in libpng while reading from or writing to a PNG file"; default: case CAIRO_STATUS_LAST_STATUS: return "<unknown error status>"; |