diff options
author | Tommi Komulainen <tommi.komulainen@iki.fi> | 2008-10-12 21:07:44 +0000 |
---|---|---|
committer | Tommi Komulainen <tko@src.gnome.org> | 2008-10-12 21:07:44 +0000 |
commit | 3bda24fdc2862baf8933a8757beba7e9322fcd9b (patch) | |
tree | e21327126ecf6117459820c3dda819df33879139 /tools/generate.c | |
parent | 4f0e31e258ce34ebab6cb1ce482fa79001e06bbd (diff) | |
download | gobject-introspection-3bda24fdc2862baf8933a8757beba7e9322fcd9b.tar.gz |
use "transfer-ownership" attribute for return values
2008-10-12 Tommi Komulainen <tommi.komulainen@iki.fi>
* tools/generate.c (write_callable_info): use "transfer-ownership"
attribute for return values
svn path=/trunk/; revision=692
Diffstat (limited to 'tools/generate.c')
-rw-r--r-- | tools/generate.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 (); |