gir-repository r155 - in trunk: . gir



Author: jobi
Date: Fri Oct 24 09:12:51 2008
New Revision: 155
URL: http://svn.gnome.org/viewvc/gir-repository?rev=155&view=rev

Log:
2008-10-24  Johan Bilien  <jobi via ecp fr>

	* gir/*.gir: add transfer-ownership

Modified:
   trunk/ChangeLog
   trunk/gir/DBus-1.0.gir
   trunk/gir/DBusGLib-1.0.gir
   trunk/gir/GL-1.0.gir
   trunk/gir/JSCore-1.0.gir
   trunk/gir/LibTelepathy.gir
   trunk/gir/cairo-1.0.gir
   trunk/gir/fontconfig-2.0.gir
   trunk/gir/freetype2-2.0.gir
   trunk/gir/libxml2-2.0.gir
   trunk/gir/xft-2.0.gir
   trunk/gir/xlib-2.0.gir

Modified: trunk/gir/DBus-1.0.gir
==============================================================================
--- trunk/gir/DBus-1.0.gir	(original)
+++ trunk/gir/DBus-1.0.gir	Fri Oct 24 09:12:51 2008
@@ -26,7 +26,7 @@
             c:type="DBusError"/>
 
     <function name="threads_init_default" c:identifier="dbus_threads_init_default">
-      <return-value>
+      <return-value transfer-ownership="none">
         <type name="boolean" c:type="gboolean"/>
       </return-value>
       <parameters>

Modified: trunk/gir/DBusGLib-1.0.gir
==============================================================================
--- trunk/gir/DBusGLib-1.0.gir	(original)
+++ trunk/gir/DBusGLib-1.0.gir	Fri Oct 24 09:12:51 2008
@@ -12,17 +12,15 @@
     </class>
     <record name="ProxyClass" c:type="DBusGProxyClass"/>
 
-    <function name="connection_open" c:identifier="dbus_g_connection_open">
-      <return-value>
+    <function name="connection_open" c:identifier="dbus_g_connection_open"
+     throws="1">
+      <return-value transfer-ownership="full">
         <type name="Connection" c:type="DBusGConnection*"/>
       </return-value>
       <parameters>
         <parameter name="address">
 	  <type name="utf8" c:type="char*"/>
 	</parameter>
-        <parameter name="error">
-	  <type name="GLib.Error" c:type="GError**"/>
-	</parameter>
       </parameters>
     </function>
   </namespace>

Modified: trunk/gir/GL-1.0.gir
==============================================================================
--- trunk/gir/GL-1.0.gir	(original)
+++ trunk/gir/GL-1.0.gir	Fri Oct 24 09:12:51 2008
@@ -12,7 +12,7 @@
     <record name="uint" c:type="GLuint"/>
 
     <function name="InitNames" c:identifier="glInitNames">
-      <return-value>
+      <return-value transfer-ownership="none">
         <type name="none" c:type="void"/>
       </return-value>
       <parameters>

Modified: trunk/gir/JSCore-1.0.gir
==============================================================================
--- trunk/gir/JSCore-1.0.gir	(original)
+++ trunk/gir/JSCore-1.0.gir	Fri Oct 24 09:12:51 2008
@@ -7,7 +7,7 @@
            c:type="JSGlobalContextRef"/>
     <alias name="ObjectRef" target="none" c:type="JSObjectRef"/>
     <function name="EvaluateScript" c:identifier="JSEvaluateScript">
-      <return-value>
+      <return-value transfer-ownership="none">
         <type name="none" c:type="void"/>
       </return-value>
       <parameters>

Modified: trunk/gir/LibTelepathy.gir
==============================================================================
--- trunk/gir/LibTelepathy.gir	(original)
+++ trunk/gir/LibTelepathy.gir	Fri Oct 24 09:12:51 2008
@@ -14,7 +14,7 @@
     <record name="ConnClass" c:type="TpConnClass"/>
 
     <function name="connmgr_list_cms" c:identifier="tp_connmgr_list_cms">
-      <return-value>
+      <return-value transfer-ownership="full">
         <type name="GLib.SList" c:type="GSList*"/>
       </return-value>
     </function>

Modified: trunk/gir/cairo-1.0.gir
==============================================================================
--- trunk/gir/cairo-1.0.gir	(original)
+++ trunk/gir/cairo-1.0.gir	Fri Oct 24 09:12:51 2008
@@ -37,7 +37,7 @@
     	    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>
+      <return-value transfer-ownership="none">
         <type name="none" c:type="void"/>
       </return-value>
       <parameters>

Modified: trunk/gir/fontconfig-2.0.gir
==============================================================================
--- trunk/gir/fontconfig-2.0.gir	(original)
+++ trunk/gir/fontconfig-2.0.gir	Fri Oct 24 09:12:51 2008
@@ -5,7 +5,7 @@
     <record name="Pattern" c:type="FcPattern"/>
     <record name="CharSet" c:type="FcCharSet"/>
     <function name="init" c:identifier="FcInit">
-      <return-value>
+      <return-value transfer-ownership="none">
         <type name="none" c:type="void"/>
       </return-value>
       <parameters>

Modified: trunk/gir/freetype2-2.0.gir
==============================================================================
--- trunk/gir/freetype2-2.0.gir	(original)
+++ trunk/gir/freetype2-2.0.gir	Fri Oct 24 09:12:51 2008
@@ -5,7 +5,7 @@
     <record name="Bitmap" c:type="FT_Bitmap"/>
     <record name="Face" c:type="FT_Face"/>
     <function name="library_version" c:identifier="FT_Library_Version">
-      <return-value>
+      <return-value transfer-ownership="none">
         <type name="none" c:type="void"/>
       </return-value>
       <parameters>

Modified: trunk/gir/libxml2-2.0.gir
==============================================================================
--- trunk/gir/libxml2-2.0.gir	(original)
+++ trunk/gir/libxml2-2.0.gir	Fri Oct 24 09:12:51 2008
@@ -9,7 +9,7 @@
     <record name="NsPtr" c:type="xmlNsPtr"/>
     <record name="Char" c:type="xmlChar"/>
     <function name="dummy" c:identifier="dummy">
-      <return-value>
+      <return-value transfer-ownership="none">
         <type name="none" c:type="void"/>
       </return-value>
       <parameters>

Modified: trunk/gir/xft-2.0.gir
==============================================================================
--- trunk/gir/xft-2.0.gir	(original)
+++ trunk/gir/xft-2.0.gir	Fri Oct 24 09:12:51 2008
@@ -6,7 +6,7 @@
     <record name="Draw" c:type="XftDraw"/>
 
     <function name="init" c:identifier="XftInit">
-      <return-value>
+      <return-value transfer-ownership="none">
         <type name="none" c:type="void"/>
       </return-value>
       <parameters>

Modified: trunk/gir/xlib-2.0.gir
==============================================================================
--- trunk/gir/xlib-2.0.gir	(original)
+++ trunk/gir/xlib-2.0.gir	Fri Oct 24 09:12:51 2008
@@ -17,7 +17,7 @@
     <record name="XVisualInfo" c:type="XVisualInfo"/>
 
     <function name="open_display" c:identifier="XOpenDisplay">
-      <return-value>
+      <return-value transfer-ownership="none">
         <type name="none" c:type="void"/>
       </return-value>
       <parameters>



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