[Xcb] [PATCH] initialize global_id to 0

Julien Danjou julien at danjou.info
Wed Aug 27 04:56:22 PDT 2008


Signed-off-by: Julien Danjou <julien at danjou.info>
---
 src/c_client.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/c_client.py b/src/c_client.py
index 19c8015..1c6ad16 100755
--- a/src/c_client.py
+++ b/src/c_client.py
@@ -183,7 +183,7 @@ def c_open(self):
         _h('extern xcb_extension_t %s;', _ns.c_ext_global_name)
 
         _c('')
-        _c('xcb_extension_t %s = { "%s" };', _ns.c_ext_global_name, _ns.ext_xname)
+        _c('xcb_extension_t %s = { "%s", 0 };', _ns.c_ext_global_name, _ns.ext_xname)
 
 def c_close(self):
     '''
-- 
1.5.6.3



More information about the Xcb mailing list