summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/glib-interfaces-gen.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/glib-interfaces-gen.py b/tools/glib-interfaces-gen.py
index 6e3f8ffb7..69c721be3 100644
--- a/tools/glib-interfaces-gen.py
+++ b/tools/glib-interfaces-gen.py
@@ -148,7 +148,7 @@ GQuark
/**
* %(TOKEN_PREFIX)s_%(TOKEN_UC)s:
*
- * The fully-qualified contact attribute token name "%(name)s.%(prop)s"
+ * The fully-qualified contact attribute token name "%(name)s/%(prop)s"
*/
""" % {'TOKEN_PREFIX' : (self.prefix + 'TOKEN_' + \
parent_name).upper().replace('/', ''),
@@ -159,7 +159,7 @@ GQuark
self.h("""
#define %(TOKEN_PREFIX)s_%(TOKEN_UC)s \\
-"%(name)s.%(prop)s"
+"%(name)s/%(prop)s"
""" % {'TOKEN_PREFIX' : (self.prefix + 'TOKEN_' + \
parent_name).upper().replace('/', ''),
'TOKEN_UC': prop.getAttributeNS(None, "name").upper().replace("-", "_").replace(".", "_"),
@@ -173,7 +173,7 @@ GQuark
/**
* %(TOKEN_PREFIX)s_%(TOKEN_UC)s:
*
- * The fully-qualified capability token name "%(name)s.%(prop)s"
+ * The fully-qualified capability token name "%(name)s/%(prop)s"
*/
""" % {'TOKEN_PREFIX' : (self.prefix + 'TOKEN_' + \
parent_name).upper().replace('/', ''),
@@ -184,7 +184,7 @@ GQuark
self.h("""
#define %(TOKEN_PREFIX)s_%(TOKEN_UC)s \\
-"%(name)s.%(prop)s"
+"%(name)s/%(prop)s"
""" % {'TOKEN_PREFIX' : (self.prefix + 'TOKEN_' + \
parent_name).upper().replace('/', ''),
'TOKEN_UC': prop.getAttributeNS(None, "name").upper().replace("-", "_").replace(".", "_"),