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
This commit is contained in:
Tommi Komulainen 2008-10-12 21:07:44 +00:00 committed by Philip Withnall
parent 781262a266
commit 32269001fe

View File

@ -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 ();