[vala] json-glib-1.0: Make Object.set_member node parameter owned



commit 2475962c2bc0b506865c9bef5182b3eaa732e718
Author: Luca Bruno <lucabru src gnome org>
Date:   Sun Feb 6 09:15:55 2011 +0100

    json-glib-1.0: Make Object.set_member node parameter owned

 vapi/json-glib-1.0.vapi                            |    2 +-
 vapi/packages/json-glib-1.0/json-glib-1.0.metadata |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/json-glib-1.0.vapi b/vapi/json-glib-1.0.vapi
index a6365a3..6cca23b 100644
--- a/vapi/json-glib-1.0.vapi
+++ b/vapi/json-glib-1.0.vapi
@@ -122,7 +122,7 @@ namespace Json {
 		public void set_boolean_member (string member_name, bool value);
 		public void set_double_member (string member_name, double value);
 		public void set_int_member (string member_name, int64 value);
-		public void set_member (string member_name, Json.Node node);
+		public void set_member (string member_name, owned Json.Node node);
 		public void set_null_member (string member_name);
 		public void set_object_member (string member_name, owned Json.Object value);
 		public void set_string_member (string member_name, string value);
diff --git a/vapi/packages/json-glib-1.0/json-glib-1.0.metadata b/vapi/packages/json-glib-1.0/json-glib-1.0.metadata
index 9c7ac31..311416d 100644
--- a/vapi/packages/json-glib-1.0/json-glib-1.0.metadata
+++ b/vapi/packages/json-glib-1.0/json-glib-1.0.metadata
@@ -32,4 +32,5 @@ json_object_add_member.node transfer_ownership="1"
 json_object_foreach_member.data hidden="1"
 json_object_set_array_member.value transfer_ownership="1"
 json_object_set_object_member.value transfer_ownership="1"
+json_object_set_member.node transfer_ownership="1"
 json_parser_load_from_data.length default_value="-1"



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