From 52209040bb5caf8fb49f216d81a11bc82add4239 Mon Sep 17 00:00:00 2001 From: Johan Dahlin Date: Sat, 19 Jul 2008 08:20:20 +0000 Subject: Use property based constructors when possible. 2008-07-19 Johan Dahlin * gio/gio.defs: Use property based constructors when possible. svn path=/trunk/; revision=835 --- ChangeLog | 5 +++++ gio/gio.defs | 20 ++++++++++---------- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2cc324d..435766f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-07-19 Johan Dahlin + + * gio/gio.defs: + Use property based constructors when possible. + 2008-07-19 Johan Dahlin * examples/gio/directory-async.py: 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")) ) ) -- cgit