aboutsummaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2020-05-13 04:33:17 +0200
committerAleksander Morgado <aleksander@aleksander.es>2020-05-13 05:42:06 +0200
commita643368f468df76aa5f1ce7a88f145e432dbf5d7 (patch)
treeeee7255d55db00761bf92299caf3c6c3b91ea791 /build-aux
parent0601120457e9a9af69b72a330dd49cba3e44ed5b (diff)
qmi-codegen: avoid duplicate semicolon when defining autoptr setup
Diffstat (limited to 'build-aux')
-rw-r--r--build-aux/qmi-codegen/Client.py2
-rw-r--r--build-aux/qmi-codegen/Container.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/build-aux/qmi-codegen/Client.py b/build-aux/qmi-codegen/Client.py
index 379b9d6..2b421f7 100644
--- a/build-aux/qmi-codegen/Client.py
+++ b/build-aux/qmi-codegen/Client.py
@@ -105,7 +105,7 @@ class Client:
'};\n'
'\n'
'GType ${underscore}_get_type (void);\n'
- 'G_DEFINE_AUTOPTR_CLEANUP_FUNC (${camelcase}, g_object_unref);\n'
+ 'G_DEFINE_AUTOPTR_CLEANUP_FUNC (${camelcase}, g_object_unref)\n'
'\n')
hfile.write(string.Template(template).substitute(translations))
diff --git a/build-aux/qmi-codegen/Container.py b/build-aux/qmi-codegen/Container.py
index 5774035..08daa33 100644
--- a/build-aux/qmi-codegen/Container.py
+++ b/build-aux/qmi-codegen/Container.py
@@ -201,7 +201,7 @@ class Container:
' */\n')
template += (
'${static}void ${underscore}_unref (${camelcase} *self);\n'
- 'G_DEFINE_AUTOPTR_CLEANUP_FUNC (${camelcase}, ${underscore}_unref);\n')
+ 'G_DEFINE_AUTOPTR_CLEANUP_FUNC (${camelcase}, ${underscore}_unref)\n')
if self.readonly == False:
if self.static == False:
template += (