summaryrefslogtreecommitdiff
path: root/gir
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2018-12-15 15:14:44 +0100
committerChristoph Reiter <reiter.christoph@gmail.com>2018-12-19 07:34:50 +0000
commit3f947f8628963dd4d2bed4e2e793af0ab04fb887 (patch)
treebcec3c1da77d986b7afeef360abc5990afa71568 /gir
parent3327be62d66f0f0c77631657543e791cbcd023a8 (diff)
downloadgobject-introspection-3f947f8628963dd4d2bed4e2e793af0ab04fb887.tar.gz
gir/cairo: add cairo_rectangle_t. Fixes #74
Patch taken from #74 (by Yeti)
Diffstat (limited to 'gir')
-rw-r--r--gir/cairo-1.0.gir.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/gir/cairo-1.0.gir.in b/gir/cairo-1.0.gir.in
index 60113e6e..ec45e51c 100644
--- a/gir/cairo-1.0.gir.in
+++ b/gir/cairo-1.0.gir.in
@@ -644,6 +644,22 @@
glib:type-name="CairoScaledFont"
glib:get-type="cairo_gobject_scaled_font_get_type"/>
<record name="Path" c:type="cairo_path_t" foreign="1"/>
+ <record name="Rectangle" c:type="cairo_rectangle_t"
+ glib:type-name="CairoRectangle"
+ glib:get-type="cairo_gobject_rectangle_get_type">
+ <field name="x" writable="1">
+ <type name="gdouble" c:type="gdouble"/>
+ </field>
+ <field name="y" writable="1">
+ <type name="gdouble" c:type="gdouble"/>
+ </field>
+ <field name="width" writable="1">
+ <type name="gdouble" c:type="gdouble"/>
+ </field>
+ <field name="height" writable="1">
+ <type name="gdouble" c:type="gdouble"/>
+ </field>
+ </record>
<record name="RectangleInt" c:type="cairo_rectangle_int_t"
glib:type-name="CairoRectangleInt"
glib:get-type="cairo_gobject_rectangle_int_get_type">