[gobject-introspection] cairo_font_type_t is a GEnum



commit 08a817ce685d9ee07380e94de517c68286067b72
Author: Nicola Fontana <ntd entidi it>
Date:   Thu Dec 11 16:24:18 2014 +0100

    cairo_font_type_t is a GEnum
    
    Properly register cairo_font_type_t with its enumerated values.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=743364

 gir/cairo-1.0.gir.in |   20 +++++++++++++++++++-
 1 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/gir/cairo-1.0.gir.in b/gir/cairo-1.0.gir.in
index e274739..6a9eea3 100644
--- a/gir/cairo-1.0.gir.in
+++ b/gir/cairo-1.0.gir.in
@@ -37,7 +37,25 @@
     <record name="FontOptions" c:type="cairo_font_options_t" foreign="1"
            glib:type-name="CairoFontOptions"
            glib:get-type="cairo_gobject_font_options_get_type"/>
-    <record name="FontType" c:type="cairo_font_type_t" foreign="1"/>
+    <enumeration name="FontType" c:type="cairo_font_type_t"
+                glib:type-name="cairo_font_type_t"
+                glib:get-type="cairo_gobject_font_type_get_type">
+      <member name="toy"
+             value="0"
+             c:identifier="CAIRO_FONT_TYPE_TOY"/>
+      <member name="ft"
+             value="1"
+             c:identifier="CAIRO_FONT_TYPE_FT"/>
+      <member name="win32"
+             value="2"
+             c:identifier="CAIRO_FONT_TYPE_WIN32"/>
+      <member name="quartz"
+             value="3"
+             c:identifier="CAIRO_FONT_TYPE_QUARTZ"/>
+      <member name="user"
+             value="4"
+             c:identifier="CAIRO_FONT_TYPE_USER"/>
+    </enumeration>
     <record name="FontFace" c:type="cairo_font_face_t" foreign="1"
            glib:type-name="CairoFontFace"
            glib:get-type="cairo_gobject_font_face_get_type"/>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]