mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-14 08:16:24 +01:00
gdbus-codegen: Fix obvious bug in _g_variant_equal0() implementation
Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
parent
e19734d6c3
commit
cade3cb1da
@ -136,7 +136,10 @@ class CodeGenerator:
|
|||||||
'{\n'
|
'{\n'
|
||||||
' gboolean ret = FALSE;\n'
|
' gboolean ret = FALSE;\n'
|
||||||
' if (a == NULL && b == NULL)\n'
|
' if (a == NULL && b == NULL)\n'
|
||||||
' goto out;\n'
|
' {\n'
|
||||||
|
' ret = TRUE;\n'
|
||||||
|
' goto out;\n'
|
||||||
|
' }\n'
|
||||||
' if (a == NULL || b == NULL)\n'
|
' if (a == NULL || b == NULL)\n'
|
||||||
' goto out;\n'
|
' goto out;\n'
|
||||||
' ret = g_variant_equal (a, b);\n'
|
' ret = g_variant_equal (a, b);\n'
|
||||||
|
Loading…
Reference in New Issue
Block a user