mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 23:16:14 +01:00
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:
parent
781262a266
commit
32269001fe
@ -250,10 +250,10 @@ 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=\"container\"");
|
g_fprintf (file, " transfer-ownership=\"container\"");
|
||||||
break;
|
break;
|
||||||
case GI_TRANSFER_EVERYTHING:
|
case GI_TRANSFER_EVERYTHING:
|
||||||
g_fprintf (file, " transfer=\"full\"");
|
g_fprintf (file, " transfer-ownership=\"full\"");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
g_assert_not_reached ();
|
g_assert_not_reached ();
|
||||||
|
Loading…
Reference in New Issue
Block a user