diff options
| -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")) ) ) |
