summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2015-04-21 14:31:53 -0700
committerBehdad Esfahbod <behdad@behdad.org>2015-04-21 14:31:53 -0700
commit853e822c9c8f6d86c730d27e99458dea8b6717e1 (patch)
tree283bf3aa5107425d52ffee889252221eff0af04b
parentbb01fd879448b47074d4d800fe1620a57caf1dbe (diff)
Oops, fixup previous commit
-rw-r--r--src/cairo-font-face.c7
-rw-r--r--src/cairoint.h1
2 files changed, 8 insertions, 0 deletions
diff --git a/src/cairo-font-face.c b/src/cairo-font-face.c
index 3bcd2a1e6..795951b14 100644
--- a/src/cairo-font-face.c
+++ b/src/cairo-font-face.c
@@ -67,6 +67,13 @@ const cairo_font_face_t _cairo_font_face_nil = {
{ 0, 0, 0, NULL }, /* user_data */
NULL
};
+const cairo_font_face_t _cairo_font_face_nil_file_not_found = {
+ { 0 }, /* hash_entry */
+ CAIRO_STATUS_FILE_NOT_FOUND, /* status */
+ CAIRO_REFERENCE_COUNT_INVALID, /* ref_count */
+ { 0, 0, 0, NULL }, /* user_data */
+ NULL
+};
cairo_status_t
_cairo_font_face_set_error (cairo_font_face_t *font_face,
diff --git a/src/cairoint.h b/src/cairoint.h
index 5bca00389..555aa8990 100644
--- a/src/cairoint.h
+++ b/src/cairoint.h
@@ -814,6 +814,7 @@ _cairo_color_get_content (const cairo_color_t *color) cairo_pure;
/* cairo-font-face.c */
extern const cairo_private cairo_font_face_t _cairo_font_face_nil;
+extern const cairo_private cairo_font_face_t _cairo_font_face_nil_file_not_found;
cairo_private void
_cairo_font_face_init (cairo_font_face_t *font_face,