summaryrefslogtreecommitdiff
path: root/girepository/girwriter.c
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 /girepository/girwriter.c
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 'girepository/girwriter.c')
-rw-r--r--girepository/girwriter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/girepository/girwriter.c b/girepository/girwriter.c
index d4d55063..5a9459fd 100644
--- a/girepository/girwriter.c
+++ b/girepository/girwriter.c
@@ -183,9 +183,9 @@ function_generate (GIdlWriter * writer, GIdlNodeFunction * node)
g_string_append (markup_s,
g_markup_printf_escaped (" transfer=\"full\""));
- if (param->null_ok)
+ if (param->allow_none)
g_string_append (markup_s,
- g_markup_printf_escaped (" null-ok=\"1\""));
+ g_markup_printf_escaped (" allow-none=\"1\""));
if (strcmp (direction, "in") != 0)
g_string_append (markup_s,