[Telepathy-commits] [telepathy-glib/master] glib-client-gen.py: use tp:name-for-bindings instead of our own camel-case-to-lower implementation
Simon McVittie
simon.mcvittie at collabora.co.uk
Mon Jan 19 03:10:19 PST 2009
---
tools/glib-client-gen.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/glib-client-gen.py b/tools/glib-client-gen.py
index 701fcaf..826f955 100644
--- a/tools/glib-client-gen.py
+++ b/tools/glib-client-gen.py
@@ -28,7 +28,7 @@ import xml.dom.minidom
from getopt import gnu_getopt
from libglibcodegen import Signature, type_to_gtype, cmp_by_name, \
- camelcase_to_lower, get_docstring, xml_escape
+ get_docstring, xml_escape
NS_TP = "http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0"
@@ -78,7 +78,7 @@ class Generator(object):
iface_lc = iface.lower()
member = signal.getAttribute('name')
- member_lc = camelcase_to_lower(member)
+ member_lc = signal.getAttribute('tp:name-for-bindings').lower()
member_uc = member_lc.upper()
arg_count = 0
@@ -358,7 +358,7 @@ class Generator(object):
iface_lc = iface.lower()
member = method.getAttribute('name')
- member_lc = camelcase_to_lower(member)
+ member_lc = method.getAttribute('tp:name-for-bindings').lower()
member_uc = member_lc.upper()
in_count = 0
--
1.5.6.5
More information about the Telepathy-commits
mailing list