[gobject-introspection] Set c_symbol_prefix in the GVariant special case



commit e682a31248e8b9ed552827102c6ef0876c927556
Author: Tomeu Vizoso <tomeu vizoso collabora co uk>
Date:   Fri Sep 17 15:05:16 2010 +0200

    Set c_symbol_prefix in the GVariant special case

 giscanner/gdumpparser.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/giscanner/gdumpparser.py b/giscanner/gdumpparser.py
index 42bf004..012e5b9 100644
--- a/giscanner/gdumpparser.py
+++ b/giscanner/gdumpparser.py
@@ -136,6 +136,7 @@ class GDumpParser(object):
             variant = self._namespace.get('Variant')
             assert variant is not None
             variant.add_gtype('GVariant', 'g_variant_get_gtype')
+            variant.c_symbol_prefix = 'variant'
             # Work around scanner bug
             variant.disguised = False
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]