summaryrefslogtreecommitdiff
path: root/src/codegen.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/codegen.py')
-rw-r--r--src/codegen.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/codegen.py b/src/codegen.py
index 8b388b7..1a6273e 100644
--- a/src/codegen.py
+++ b/src/codegen.py
@@ -565,7 +565,7 @@ class CodeGenerator:
else:
self.c.write(' (GDBusAnnotationInfo **) &%s_arg_%s_annotation_info_pointers\n'%(prefix, a.name))
self.c.write(' },\n')
- if not utils.lookup_annotation(a.annotations, 'org.gtk.GDBus.UseGVariant'):
+ if not utils.lookup_annotation(a.annotations, 'org.gtk.GDBus.C.ForceGVariant'):
self.c.write(' FALSE\n')
else:
self.c.write(' TRUE\n')
@@ -684,7 +684,7 @@ class CodeGenerator:
self.c.write(' },\n'
' "%s",\n'
%(p.name_hyphen))
- if not utils.lookup_annotation(p.annotations, 'org.gtk.GDBus.UseGVariant'):
+ if not utils.lookup_annotation(p.annotations, 'org.gtk.GDBus.C.ForceGVariant'):
self.c.write(' FALSE\n')
else:
self.c.write(' TRUE\n')