summaryrefslogtreecommitdiffstats
path: root/gio
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2008-07-19 08:20:20 +0000
committerJohan Dahlin <johan@src.gnome.org>2008-07-19 08:20:20 +0000
commit52209040bb5caf8fb49f216d81a11bc82add4239 (patch)
tree40008850bd6b303f49206ae41a0799f520889afa /gio
parent5c15e9f51287247b0110db8ec0d61fe3ccd61959 (diff)
downloadpygobject-52209040bb5caf8fb49f216d81a11bc82add4239.tar.gz
pygobject-52209040bb5caf8fb49f216d81a11bc82add4239.tar.xz
pygobject-52209040bb5caf8fb49f216d81a11bc82add4239.zip
Use property based constructors when possible.
2008-07-19 Johan Dahlin <johan@gnome.org> * gio/gio.defs: Use property based constructors when possible. svn path=/trunk/; revision=835
Diffstat (limited to 'gio')
-rw-r--r--gio/gio.defs20
1 files changed, 10 insertions, 10 deletions
diff --git a/gio/gio.defs b/gio/gio.defs
index e02fc9d..4d07293 100644
--- a/gio/gio.defs
+++ b/gio/gio.defs
@@ -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"))
)
)