gdbus-codegen: Fix obvious bug in _g_variant_equal0() implementation

Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
David Zeuthen 2011-04-15 13:51:10 -04:00
parent e19734d6c3
commit cade3cb1da

View File

@ -136,7 +136,10 @@ class CodeGenerator:
'{\n'
' gboolean ret = FALSE;\n'
' if (a == NULL && b == NULL)\n'
' goto out;\n'
' {\n'
' ret = TRUE;\n'
' goto out;\n'
' }\n'
' if (a == NULL || b == NULL)\n'
' goto out;\n'
' ret = g_variant_equal (a, b);\n'