summaryrefslogtreecommitdiff
path: root/src/cairo-misc.c
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2016-03-26 22:18:05 +1030
committerAdrian Johnson <ajohnson@redneon.com>2016-03-26 22:18:05 +1030
commit747cab741cf63f30aa6bc2b787fc13e7e7a2b859 (patch)
treee4bff2cfbf78fbb162d0b68fdf0b0780f08db7a9 /src/cairo-misc.c
parentcdd5c92cedb9abcedd6f261594b1ea7d94d4a4ad (diff)
downloadcairo-747cab741cf63f30aa6bc2b787fc13e7e7a2b859.tar.gz
Add CAIRO_STATUS_WIN32_GDI_ERROR for GDI errors
Diffstat (limited to 'src/cairo-misc.c')
-rw-r--r--src/cairo-misc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cairo-misc.c b/src/cairo-misc.c
index c1e097169..f4db37260 100644
--- a/src/cairo-misc.c
+++ b/src/cairo-misc.c
@@ -162,6 +162,8 @@ cairo_status_to_string (cairo_status_t status)
return "error occurred in libpng while reading from or writing to a PNG file";
case CAIRO_STATUS_FREETYPE_ERROR:
return "error occurred in libfreetype";
+ case CAIRO_STATUS_WIN32_GDI_ERROR:
+ return "error occurred in the Windows Graphics Device Interface";
default:
case CAIRO_STATUS_LAST_STATUS:
return "<unknown error status>";