diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2010-03-02 14:52:16 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2010-03-02 14:52:16 +0000 |
commit | 57708eaaddb90857db947b71370da7ca41cb40b2 (patch) | |
tree | 7c69b72c90e5e2bf38fb0f985327647b92061aea /tools | |
parent | c36bc11dd17d0227db5a2fd3dcdc269cc8d8c05c (diff) | |
parent | 1e939837150b7c111300d2a201ac930470817bd9 (diff) |
Merge branch 'telepathy-glib-0.8' into telepathy-glib-0.10
Diffstat (limited to 'tools')
-rw-r--r-- | tools/glib-ginterface-gen.py | 7 |
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 "##" 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_##x (\\' % (self.prefix_, self.node_name_lc)) - self.h(' * klass, my_object_###x)') + self.h(' * klass, my_object_##x)') for method in methods: class_member_name = method.getAttribute('tp:name-for-bindings') |