[Telepathy-commits] [telepathy-glib/master] glib-client-gen.py: use unsigned for booleans in bitfields

Simon McVittie simon.mcvittie at collabora.co.uk
Wed Oct 15 02:42:59 PDT 2008


---
 tools/glib-client-gen.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/glib-client-gen.py b/tools/glib-client-gen.py
index 96383c8..701fcaf 100644
--- a/tools/glib-client-gen.py
+++ b/tools/glib-client-gen.py
@@ -813,8 +813,8 @@ class Generator(object):
 
             self.b('    %s*%s;' % (ctype, name))
 
-        self.b('    gboolean success:1;')
-        self.b('    gboolean completed:1;')
+        self.b('    unsigned success:1;')
+        self.b('    unsigned completed:1;')
         self.b('} _%s_%s_run_state_%s;'
                % (self.prefix_lc, iface_lc, member_lc))
 
-- 
1.5.6.5




More information about the Telepathy-commits mailing list