summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2010-03-02 14:52:16 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2010-03-02 14:52:16 +0000
commit57708eaaddb90857db947b71370da7ca41cb40b2 (patch)
tree7c69b72c90e5e2bf38fb0f985327647b92061aea /tools
parentc36bc11dd17d0227db5a2fd3dcdc269cc8d8c05c (diff)
parent1e939837150b7c111300d2a201ac930470817bd9 (diff)
downloadtelepathy-glib-57708eaaddb90857db947b71370da7ca41cb40b2.tar.gz
Merge branch 'telepathy-glib-0.8' into telepathy-glib-0.10
Diffstat (limited to 'tools')
-rw-r--r--tools/glib-ginterface-gen.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/tools/glib-ginterface-gen.py b/tools/glib-ginterface-gen.py
index 95c827c7a..3373333f8 100644
--- a/tools/glib-ginterface-gen.py
+++ b/tools/glib-ginterface-gen.py
@@ -184,12 +184,9 @@ class Generator(object):
self.h(' * implement_%s (gpointer klass,' % self.node_name_lc)
self.h(' * gpointer unused G_GNUC_UNUSED)')
self.h(' * {')
- # "#" is special to gtkdoc under some circumstances; it appears
- # that escaping "##" as "#<!---->#" or "&#35;&#35;" doesn't work,
- # but adding an extra hash symbol does. Thanks, gtkdoc :-(
- self.h(' * #define IMPLEMENT(x) %s%s_implement_###x (\\'
+ self.h(' * #define IMPLEMENT(x) %s%s_implement_&num;&num;x (\\'
% (self.prefix_, self.node_name_lc))
- self.h(' * klass, my_object_###x)')
+ self.h(' * klass, my_object_&num;&num;x)')
for method in methods:
class_member_name = method.getAttribute('tp:name-for-bindings')