summaryrefslogtreecommitdiff
path: root/src/cairo-misc.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2009-04-28 15:03:53 -0400
committerBehdad Esfahbod <behdad@behdad.org>2009-05-06 20:31:04 -0400
commit428fb58a4c96391f96f48026be49a4533cd12834 (patch)
tree3294eee3aa332bd8d58f0518094663d80221ec8c /src/cairo-misc.c
parentf9573d03dde2c38674d36b783044715ab5104b0a (diff)
[user-font] Add CAIRO_STATUS_USER_FONT_NOT_IMPLEMENTED
This is useful for language bindings to signal that a method is not implemented.
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 d4b10e1c..20f0ef1b 100644
--- a/src/cairo-misc.c
+++ b/src/cairo-misc.c
@@ -123,6 +123,8 @@ cairo_status_to_string (cairo_status_t status)
return "invalid value for an input #cairo_font_weight_t";
case CAIRO_STATUS_INVALID_SIZE:
return "invalid value for the size of the input (surface, pattern, etc.)";
+ case CAIRO_STATUS_USER_FONT_NOT_IMPLEMENTED:
+ return "user-font method not implemented";
default:
case CAIRO_STATUS_LAST_STATUS:
return "<unknown error status>";