summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-07-17 09:33:21 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-07-17 09:33:21 +0200
commit1234822c106f58fd5b3ddb70d28c2d39b4ff7b77 (patch)
tree76afec118254d62baa2eda80ad4c5a8d62dc8f1e /build-aux
parentc090c39a9cc92c171fa48c4d03646478cfb29bb6 (diff)
qmi-codegen: mark variable as set only after really having set
The Variable-specific setter implementation may include some validity checks, so it may happen that instead of setting the variable an error is emitted.
Diffstat (limited to 'build-aux')
-rw-r--r--build-aux/qmi-codegen/Field.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/qmi-codegen/Field.py b/build-aux/qmi-codegen/Field.py
index 37ac526..f9a8a46 100644
--- a/build-aux/qmi-codegen/Field.py
+++ b/build-aux/qmi-codegen/Field.py
@@ -198,8 +198,8 @@ class Field:
'{\n'
' g_return_val_if_fail (self != NULL, FALSE);\n'
'\n'
- ' self->${variable_name}_set = TRUE;\n'
'${variable_setter_imp}'
+ ' self->${variable_name}_set = TRUE;\n'
'\n'
' return TRUE;\n'
'}\n')