pygobject r835 - in trunk: . gio



Author: johan
Date: Sat Jul 19 08:20:20 2008
New Revision: 835
URL: http://svn.gnome.org/viewvc/pygobject?rev=835&view=rev

Log:
2008-07-19  Johan Dahlin  <johan gnome org>

        * gio/gio.defs:
        Use property based constructors when possible.



Modified:
   trunk/ChangeLog
   trunk/gio/gio.defs

Modified: trunk/gio/gio.defs
==============================================================================
--- trunk/gio/gio.defs	(original)
+++ trunk/gio/gio.defs	Sat Jul 19 08:20:20 2008
@@ -261,8 +261,8 @@
   (c-name "g_buffered_input_stream_new")
   (is-constructor-of "GBufferedInputStream")
   (return-type "GInputStream*")
-  (parameters
-    '("GInputStream*" "base_stream")
+  (properties
+    '("base_stream")
   )
 )
 
@@ -373,8 +373,8 @@
   (c-name "g_buffered_output_stream_new")
   (is-constructor-of "GBufferedOutputStream")
   (return-type "GOutputStream*")
-  (parameters
-    '("GOutputStream*" "base_stream")
+  (properties
+    '("base_stream")
   )
 )
 
@@ -581,8 +581,8 @@
   (c-name "g_data_input_stream_new")
   (is-constructor-of "GDataInputStream")
   (return-type "GDataInputStream*")
-  (parameters
-    '("GInputStream*" "base_stream")
+  (properties
+    '("base_stream")
   )
 )
 
@@ -722,8 +722,8 @@
   (c-name "g_data_output_stream_new")
   (is-constructor-of "GDataOutputStream")
   (return-type "GDataOutputStream*")
-  (parameters
-    '("GOutputStream*" "base_stream")
+  (properties
+    '("base_stream")
   )
 )
 
@@ -4084,8 +4084,8 @@
   (c-name "g_themed_icon_new")
   (is-constructor-of "GThemedIcon")
   (return-type "GIcon*")
-  (parameters
-    '("const-char*" "iconname")
+  (properties
+    '("name" (argname "iconname"))
   )
 )
 



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