summaryrefslogtreecommitdiff
path: root/src/cairo-surface-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cairo-surface-private.h')
-rw-r--r--src/cairo-surface-private.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/cairo-surface-private.h b/src/cairo-surface-private.h
index 31ddb8c7b..8c9137f27 100644
--- a/src/cairo-surface-private.h
+++ b/src/cairo-surface-private.h
@@ -42,12 +42,15 @@
#include "cairo-types-private.h"
#include "cairo-list-private.h"
-#include "cairo-reference-count-private.h"
+#include "cairo-object-private.h"
+#include "cairo-object-wrappers-private.h"
#include "cairo-clip-private.h"
typedef void (*cairo_surface_func_t) (cairo_surface_t *);
struct _cairo_surface {
+ cairo_object_t base;
+
const cairo_surface_backend_t *backend;
cairo_device_t *device;
@@ -58,8 +61,6 @@ struct _cairo_surface {
cairo_content_t content;
- cairo_reference_count_t ref_count;
- cairo_status_t status;
unsigned int unique_id;
unsigned finished : 1;
@@ -67,7 +68,6 @@ struct _cairo_surface {
unsigned has_font_options : 1;
unsigned owns_device : 1;
- cairo_user_data_array_t user_data;
cairo_user_data_array_t mime_data;
cairo_matrix_t device_transform;
@@ -101,4 +101,6 @@ struct _cairo_surface {
cairo_font_options_t font_options;
};
+CAIRO_OBJECT_WRAPPERS(cairo_surface)
+
#endif /* CAIRO_SURFACE_PRIVATE_H */