use "container" for container/shallow ownership transfer (not "shallow")

2008-10-12  Tommi Komulainen  <tommi.komulainen@iki.fi>

	* girepository/girparser.c (parse_param_transfer):
	* tools/generate.c (write_callable_info): use "container" for
	container/shallow ownership transfer (not "shallow")

svn path=/trunk/; revision=689
This commit is contained in:
Tommi Komulainen 2008-10-12 21:07:28 +00:00 committed by Philip Withnall
parent 12f6efcf38
commit 04b52f9874

View File

@ -246,7 +246,7 @@ write_callable_info (const gchar *namespace,
case GI_TRANSFER_NOTHING: case GI_TRANSFER_NOTHING:
break; break;
case GI_TRANSFER_CONTAINER: case GI_TRANSFER_CONTAINER:
g_fprintf (file, " transfer=\"shallow\""); g_fprintf (file, " transfer=\"container\"");
break; break;
case GI_TRANSFER_EVERYTHING: case GI_TRANSFER_EVERYTHING:
g_fprintf (file, " transfer=\"full\""); g_fprintf (file, " transfer=\"full\"");
@ -287,7 +287,7 @@ write_callable_info (const gchar *namespace,
case GI_TRANSFER_NOTHING: case GI_TRANSFER_NOTHING:
break; break;
case GI_TRANSFER_CONTAINER: case GI_TRANSFER_CONTAINER:
g_fprintf (file, " transfer=\"shallow\""); g_fprintf (file, " transfer=\"container\"");
break; break;
case GI_TRANSFER_EVERYTHING: case GI_TRANSFER_EVERYTHING:
g_fprintf (file, " transfer=\"full\""); g_fprintf (file, " transfer=\"full\"");