gir-repository r93 - trunk/gir



Author: walters
Date: Sat Sep 13 00:14:37 2008
New Revision: 93
URL: http://svn.gnome.org/viewvc/gir-repository?rev=93&view=rev

Log:
Update cairo.gir to use GLib boxed types patch


Modified:
   trunk/gir/cairo.gir

Modified: trunk/gir/cairo.gir
==============================================================================
--- trunk/gir/cairo.gir	(original)
+++ trunk/gir/cairo.gir	Sat Sep 13 00:14:37 2008
@@ -1,16 +1,41 @@
+<?xml version="1.0"?>
 <repository version="1.0"
             xmlns="http://www.gtk.org/introspection/core/1.0";
-            xmlns:c="http://www.gtk.org/introspection/c/1.0";>
+            xmlns:c="http://www.gtk.org/introspection/c/1.0";
+            xmlns:glib="http://www.gtk.org/introspection/glib/1.0";>
   <namespace name="cairo" shared-library="cairo">
-    <record name="Context" c:type="cairo_t"/>
-    <record name="Surface" c:type="cairo_surface_t"/>
-    <record name="Matrix" c:type="cairo_matrix_t"/>
-    <record name="Pattern" c:type="cairo_pattern_t"/>
-    <record name="Content" c:type="cairo_content_t"/>
-    <record name="FontOptions" c:type="cairo_font_options_t"/>
-    <record name="FontType" c:type="cairo_font_type_t"/>
-    <record name="ScaledFont" c:type="cairo_scaled_font_t"/>
-
+    <record name="Context" c:type="cairo_t"
+            glib:type-name="CairoContext"
+	    glib:get-type="cairo_get_g_type"/>
+    <record name="Surface" c:type="cairo_surface_t"
+    	    glib:type-name="CairoSurface"
+	    glib:get-type="cairo_surface_get_glib_type"/>
+    <record name="Matrix" c:type="cairo_matrix_t"
+    	    glib:type-name="CairoMatrix"
+	    glib:get-type="cairo_matrix_get_glib_type"/>
+    <record name="Pattern" c:type="cairo_pattern_t"
+    	    glib:type-name="CairoPattern"
+	    glib:get-type="cairo_pattern_get_glib_type"/>
+    <enumeration name="Content" c:type="cairo_content_t">
+      <member name="COLOR"
+              value="4096"
+              c:identifier="CAIRO_CONTENT_COLOR"/>
+      <member name="ALPHA"
+              value="8192"
+              c:identifier="CAIRO_CONTENT_ALPHA"/>
+      <member name="COLOR_ALPHA"
+              value="12288"
+              c:identifier="CAIRO_CONTENT_COLOR_ALPHA"/>
+    </enumeration>
+    <record name="FontOptions" c:type="cairo_font_options_t"
+    	    glib:type-name="CairoFontOptions"
+	    glib:get-type="cairo_font_options_get_glib_type"/>
+    <record name="FontType" c:type="cairo_font_type_t"
+    	    glib:type-name="CairoFontType"
+	    glib:get-type="cairo_font_type_get_glib_type"/>
+    <record name="ScaledFont" c:type="cairo_scaled_font_t"
+    	    glib:type-name="CairoScaledFont"
+	    glib:get-type="cairo_scaled_font_get_glib_type"/>
     <function name="image_surface_create" c:identifier="cairo_image_surface_create">
       <return-value>
         <type name="none" c:type="void"/>



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