summaryrefslogtreecommitdiff
path: root/util
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 /util
parentcdd5c92cedb9abcedd6f261594b1ea7d94d4a4ad (diff)
Add CAIRO_STATUS_WIN32_GDI_ERROR for GDI errors
Diffstat (limited to 'util')
-rw-r--r--util/cairo-gobject/cairo-gobject-enums.c1
-rw-r--r--util/cairo-script/cairo-script-private.h2
-rw-r--r--util/cairo-trace/trace.c1
3 files changed, 3 insertions, 1 deletions
diff --git a/util/cairo-gobject/cairo-gobject-enums.c b/util/cairo-gobject/cairo-gobject-enums.c
index cd4a4be40..0c5069406 100644
--- a/util/cairo-gobject/cairo-gobject-enums.c
+++ b/util/cairo-gobject/cairo-gobject-enums.c
@@ -55,6 +55,7 @@ cairo_gobject_status_get_type (void)
{ CAIRO_STATUS_PNG_ERROR, "CAIRO_STATUS_PNG_ERROR", "png-error" },
{ CAIRO_STATUS_FREETYPE_ERROR, "CAIRO_STATUS_FREETYPE_ERROR", "freetype-error" },
{ CAIRO_STATUS_LAST_STATUS, "CAIRO_STATUS_LAST_STATUS", "last-status" },
+ { CAIRO_STATUS_WIN32_GDI_ERROR, "CAIRO_STATUS_WIN32_GDI_ERROR", "win32-gdi-error" },
{ 0, NULL, NULL }
};
GType type = g_enum_register_static (g_intern_static_string ("cairo_status_t"), values);
diff --git a/util/cairo-script/cairo-script-private.h b/util/cairo-script/cairo-script-private.h
index a8e203b47..da846dcb2 100644
--- a/util/cairo-script/cairo-script-private.h
+++ b/util/cairo-script/cairo-script-private.h
@@ -228,7 +228,7 @@ typedef enum _csi_status {
CSI_STATUS_JBIG2_GLOBAL_MISSING = CAIRO_STATUS_JBIG2_GLOBAL_MISSING,
CSI_STATUS_PNG_ERROR = CAIRO_STATUS_PNG_ERROR,
CSI_STATUS_FREETYPE_ERROR = CAIRO_STATUS_FREETYPE_ERROR,
-
+ CSI_STATUS_WIN32_GDI_ERROR = CAIRO_STATUS_WIN32_GDI_ERROR,
/* cairo-script-interpreter specific errors */
diff --git a/util/cairo-trace/trace.c b/util/cairo-trace/trace.c
index 652e04ad0..e3c99331b 100644
--- a/util/cairo-trace/trace.c
+++ b/util/cairo-trace/trace.c
@@ -1584,6 +1584,7 @@ _status_to_string (cairo_status_t status)
f(JBIG2_GLOBAL_MISSING);
f(PNG_ERROR);
f(FREETYPE_ERROR);
+ f(WIN32_GDI_ERROR);
case CAIRO_STATUS_LAST_STATUS:
break;
}