diff options
author | Nicola Fontana <ntd@entidi.it> | 2013-03-01 14:16:45 +0100 |
---|---|---|
committer | Uli Schlachter <psychon@znc.in> | 2013-03-23 19:47:54 +0100 |
commit | 59ccc3d72e839bd897111322765bb13696a97ef5 (patch) | |
tree | 92df3b47fdf71cbc4297790b55af773648119bba /util/cairo-gobject/cairo-gobject-structs.c | |
parent | be5eabb66a475720020211a6d37bfeb75fc3242c (diff) |
gobject: Add wrapper around cairo_matrix_t
Reviewed-By: Benjamin Otte <otte@redhat.com>
Signed-off-by: Uli Schlachter <psychon@znc.in>
Diffstat (limited to 'util/cairo-gobject/cairo-gobject-structs.c')
-rw-r--r-- | util/cairo-gobject/cairo-gobject-structs.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/util/cairo-gobject/cairo-gobject-structs.c b/util/cairo-gobject/cairo-gobject-structs.c index 05e3ece8..4bbf11ba 100644 --- a/util/cairo-gobject/cairo-gobject-structs.c +++ b/util/cairo-gobject/cairo-gobject-structs.c @@ -78,10 +78,12 @@ cairo_gobject_cairo_ ## name ## _copy (gpointer src) \ return g_memdup (src, sizeof (cairo_ ## name ## _t)); \ } +COPY_FUNC (matrix) +CAIRO_DEFINE_BOXED ("CairoMatrix", cairo_gobject_matrix, + cairo_gobject_cairo_matrix_copy, g_free); COPY_FUNC (rectangle) CAIRO_DEFINE_BOXED ("CairoRectangle", cairo_gobject_rectangle, cairo_gobject_cairo_rectangle_copy, g_free); COPY_FUNC (rectangle_int) CAIRO_DEFINE_BOXED ("CairoRectangleInt", cairo_gobject_rectangle_int, cairo_gobject_cairo_rectangle_int_copy, g_free); - |