projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gdbus-codegen: Fix obvious bug in _g_variant_equal0() implementation
[platform/upstream/glib.git]
/
gio
/
gdbus-codegen
/
codegen.py
diff --git
a/gio/gdbus-codegen/codegen.py
b/gio/gdbus-codegen/codegen.py
index
c1c8ea3
..
7a685f8
100644
(file)
--- a/
gio/gdbus-codegen/codegen.py
+++ b/
gio/gdbus-codegen/codegen.py
@@
-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'