aboutsummaryrefslogtreecommitdiffstats
path: root/tools/glib-ginterface-gen.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/glib-ginterface-gen.py')
-rw-r--r--tools/glib-ginterface-gen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/glib-ginterface-gen.py b/tools/glib-ginterface-gen.py
index 0c7c419e6..36f3242b0 100644
--- a/tools/glib-ginterface-gen.py
+++ b/tools/glib-ginterface-gen.py
@@ -204,7 +204,7 @@ class Generator(object):
base_init_code.extend(self.do_signal(signal))
self.b('static inline void')
- self.b('%s%s_base_init_once (gpointer klass)'
+ self.b('%s%s_base_init_once (gpointer klass G_GNUC_UNUSED)'
% (self.prefix_, node_name_lc))
self.b('{')
self.b(' static TpDBusPropertiesMixinPropInfo properties[%d] = {'