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")
+
+2008-10-12 Tommi Komulainen <tommi.komulainen@iki.fi>
+
* girepository/girparser.c (parse_param_transfer,
start_parameter): Refactor handling of transfer=none/shallow/full
to separate function
param->transfer = FALSE;
param->shallow_transfer = FALSE;
}
- else if (transfer && strcmp (transfer, "shallow") == 0)
+ else if (transfer && strcmp (transfer, "container") == 0)
{
param->transfer = FALSE;
param->shallow_transfer = TRUE;
case GI_TRANSFER_NOTHING:
break;
case GI_TRANSFER_CONTAINER:
- g_fprintf (file, " transfer=\"shallow\"");
+ g_fprintf (file, " transfer=\"container\"");
break;
case GI_TRANSFER_EVERYTHING:
g_fprintf (file, " transfer=\"full\"");
case GI_TRANSFER_NOTHING:
break;
case GI_TRANSFER_CONTAINER:
- g_fprintf (file, " transfer=\"shallow\"");
+ g_fprintf (file, " transfer=\"container\"");
break;
case GI_TRANSFER_EVERYTHING:
g_fprintf (file, " transfer=\"full\"");