mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 15:06:14 +01:00
Bug 556732 – generate gir files consistently
2008-10-17 Tommi Komulainen <tommi.komulainen@iki.fi> Bug 556732 – generate gir files consistently * girepository/girparser.c (start_parameter): * tests/boxed.gir: * tests/invoke/testfns-1.0.gir: * tools/generate.c (write_callable_info): write 'transfer-ownership' attribute consistently with both return-value and parameter elements svn path=/trunk/; revision=745
This commit is contained in:
parent
66a5209b6c
commit
d3e2ead0db
@ -423,10 +423,10 @@ write_callable_info (const gchar *namespace,
|
||||
case GI_TRANSFER_NOTHING:
|
||||
break;
|
||||
case GI_TRANSFER_CONTAINER:
|
||||
xml_printf (file, " transfer=\"container\"");
|
||||
xml_printf (file, " transfer-ownership=\"container\"");
|
||||
break;
|
||||
case GI_TRANSFER_EVERYTHING:
|
||||
xml_printf (file, " transfer=\"full\"");
|
||||
xml_printf (file, " transfer-ownership=\"full\"");
|
||||
break;
|
||||
default:
|
||||
g_assert_not_reached ();
|
||||
|
Loading…
Reference in New Issue
Block a user