Bug 557405 – Use 'allow-none' consistently

2008-10-22  Tommi Komulainen  <tommi.komulainen@iki.fi>

	* docs/typelib-format.txt:
	* girepository/ginfo.c (g_arg_info_may_be_null):
	* girepository/girnode.c (g_ir_node_build_typelib):
	* girepository/girnode.h (struct _GIrNodeParam):
	* girepository/girparser.c (start_parameter):
	* girepository/girwriter.c (function_generate):
	* girepository/gtypelib.h (ArgBlob):
	* tests/errors.gir:
	* tests/function.gir:
	* tools/generate.c (write_callable_info): Use 'allow-none'
	consistently throughout

svn path=/trunk/; revision=782
This commit is contained in:
Tommi Komulainen 2008-10-22 14:02:02 +00:00 committed by Philip Withnall
parent cb720c675e
commit 659a300f87

View File

@ -400,7 +400,7 @@ write_callable_info (const gchar *namespace,
}
if (g_callable_info_may_return_null (info))
xml_printf (file, " null-ok=\"1\"");
xml_printf (file, " allow-none=\"1\"");
write_type_info (namespace, type, file);
@ -445,7 +445,7 @@ write_callable_info (const gchar *namespace,
}
if (g_arg_info_may_be_null (arg))
xml_printf (file, " null-ok=\"1\"");
xml_printf (file, " allow-none=\"1\"");
if (g_arg_info_is_dipper (arg))
xml_printf (file, " dipper=\"1\"");