mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 19:06:15 +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:
|
||||
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 ();
|
||||
|
Loading…
Reference in New Issue
Block a user