summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTommi Komulainen <tommi.komulainen@iki.fi>2008-10-22 14:02:02 +0000
committerTommi Komulainen <tko@src.gnome.org>2008-10-22 14:02:02 +0000
commitdc6518128a6d25c97e8e6801961700c15b6d68fa (patch)
treed8312f1df45b2a7e57a609d4e41687cc587a43dd /tools
parent7b171be482d33af3f4a6afa6bf34b433ce70fdb1 (diff)
downloadgobject-introspection-dc6518128a6d25c97e8e6801961700c15b6d68fa.tar.gz
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
Diffstat (limited to 'tools')
-rw-r--r--tools/generate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/generate.c b/tools/generate.c
index 42ce9e43..b6e6fc86 100644
--- a/tools/generate.c
+++ b/tools/generate.c
@@ -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\"");