diff options
| author | Johan Dahlin <johan@gnome.org> | 2008-07-19 08:20:20 +0000 |
|---|---|---|
| committer | Johan Dahlin <johan@src.gnome.org> | 2008-07-19 08:20:20 +0000 |
| commit | 52209040bb5caf8fb49f216d81a11bc82add4239 (patch) | |
| tree | 40008850bd6b303f49206ae41a0799f520889afa | |
| parent | 5c15e9f51287247b0110db8ec0d61fe3ccd61959 (diff) | |
| download | pygobject-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
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | gio/gio.defs | 20 |
2 files changed, 15 insertions, 10 deletions
@@ -1,5 +1,10 @@ 2008-07-19 Johan Dahlin <johan@gnome.org> + * gio/gio.defs: + Use property based constructors when possible. + +2008-07-19 Johan Dahlin <johan@gnome.org> + * examples/gio/directory-async.py: * gio/gfileenumerator.override: * gio/gio.defs: 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")) ) ) |
