mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
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:
parent
12f6efcf38
commit
04b52f9874
@ -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\"");
|
||||||
|
Loading…
Reference in New Issue
Block a user