projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e19734d
)
gdbus-codegen: Fix obvious bug in _g_variant_equal0() implementation
author
David Zeuthen
<davidz@redhat.com>
Fri, 15 Apr 2011 17:51:10 +0000
(13:51 -0400)
committer
David Zeuthen
<davidz@redhat.com>
Fri, 15 Apr 2011 17:51:10 +0000
(13:51 -0400)
Signed-off-by: David Zeuthen <davidz@redhat.com>
gio/gdbus-codegen/codegen.py
patch
|
blob
|
history
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'