summaryrefslogtreecommitdiff
path: root/src/cairo-surface-private.h
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-surface-private.h
parentafef83a1fae028b45cefd6b4698e7b32ad4d6fc7 (diff)
[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-surface-private.h')
-rw-r--r--src/cairo-surface-private.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/cairo-surface-private.h b/src/cairo-surface-private.h
index 1b5bb049..efd4365e 100644
--- a/src/cairo-surface-private.h
+++ b/src/cairo-surface-private.h
@@ -100,10 +100,6 @@ struct _cairo_surface {
*/
cairo_bool_t has_font_options;
cairo_font_options_t font_options;
-
- unsigned char *jpeg_data;
- unsigned int jpeg_data_length;
- cairo_destroy_func_t jpeg_destroy;
};
#endif /* CAIRO_SURFACE_PRIVATE_H */