summaryrefslogtreecommitdiff
path: root/src/cairo-debug.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2008-11-03 11:01:22 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2008-11-03 11:24:12 +0000
commit8fc3d0ffebea5622332327cdef9222486cc85581 (patch)
tree0dbf5ea80aff6a100d2f28907c6645afbdf426ae /src/cairo-debug.c
parentafef83a1fae028b45cefd6b4698e7b32ad4d6fc7 (diff)
downloadcairo-8fc3d0ffebea5622332327cdef9222486cc85581.tar.gz
[mime-data] Allow embedding of arbitrary mime-types.
Use the surface user-data array allow to store an arbitrary set of alternate image representations keyed by an interned string (which ensures that it has a unique key in the user-visible namespace). Update the API to mirror that of cairo_surface_set_user_data() [i.e. return a status indicator] and switch internal users of the mime-data to the public functions.
Diffstat (limited to 'src/cairo-debug.c')
-rw-r--r--src/cairo-debug.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cairo-debug.c b/src/cairo-debug.c
index 61156f0d9..6dd5787a4 100644
--- a/src/cairo-debug.c
+++ b/src/cairo-debug.c
@@ -67,6 +67,8 @@ cairo_debug_reset_static_data (void)
_cairo_ft_font_reset_static_data ();
#endif
+ _cairo_intern_string_reset_static_data ();
+
_cairo_scaled_font_reset_static_data ();
_cairo_pattern_reset_static_data ();