From 3bda24fdc2862baf8933a8757beba7e9322fcd9b Mon Sep 17 00:00:00 2001 From: Tommi Komulainen Date: Sun, 12 Oct 2008 21:07:44 +0000 Subject: [PATCH] use "transfer-ownership" attribute for return values 2008-10-12 Tommi Komulainen * tools/generate.c (write_callable_info): use "transfer-ownership" attribute for return values svn path=/trunk/; revision=692 --- ChangeLog | 5 +++++ tools/generate.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 400c374c..67cdcfb9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,11 @@ * girepository/gtypelib.c: Fix inverted test for success in version parsing. +2008-10-12 Tommi Komulainen + + * tools/generate.c (write_callable_info): use "transfer-ownership" + attribute for return values + 2008-10-12 Tommi Komulainen * tools/generate.c (write_callable_info): move "transfer" and diff --git a/tools/generate.c b/tools/generate.c index 04cb87c4..224d2b40 100644 --- a/tools/generate.c +++ b/tools/generate.c @@ -250,10 +250,10 @@ write_callable_info (const gchar *namespace, case GI_TRANSFER_NOTHING: break; case GI_TRANSFER_CONTAINER: - g_fprintf (file, " transfer=\"container\""); + g_fprintf (file, " transfer-ownership=\"container\""); break; case GI_TRANSFER_EVERYTHING: - g_fprintf (file, " transfer=\"full\""); + g_fprintf (file, " transfer-ownership=\"full\""); break; default: g_assert_not_reached (); -- 2.34.1