Revert "Window isn't a record, but really a typedef for uint32"
authorOwen W. Taylor <otaylor@fishsoup.net>
Thu, 9 Jul 2009 10:11:35 +0000 (11:11 +0100)
committerOwen W. Taylor <otaylor@fishsoup.net>
Thu, 9 Jul 2009 10:27:33 +0000 (11:27 +0100)
Exporting Windoew as a uint32 is revealing some problems in namespace
handling - functions that are supposed to return a GdkWindow * are
returning a x11.Window instead. Until that is fixed, we need to avoid
making this change.

(Also, Window isn't a uint32, it is an unsigned long)

This reverts commit 9ce2b05198653697896c3f7c9271073789f90c51.

http://bugzilla.gnome.org/show_bug.cgi?id=588147

gir/xlib-2.0.gir

index 02f9874..5ee0586 100644 (file)
@@ -3,8 +3,6 @@
             xmlns="http://www.gtk.org/introspection/core/1.0"
             xmlns:c="http://www.gtk.org/introspection/c/1.0">
   <namespace name="xlib" version="2.0">
-    <alias name="Window" target="uint32" c:type="Window"/>
-
     <record name="Atom" c:type="Atom"/>
     <record name="Display" c:type="Display"/>
     <record name="Drawable" c:type="Drawable"/>
@@ -14,6 +12,7 @@
     <record name="Picture" c:type="Picture"/>
     <record name="Screen" c:type="Screen"/>
     <record name="VisualID" c:type="VisualID"/>
+    <record name="Window" c:type="Window"/>
     <record name="XEvent" c:type="XEvent"/>
     <record name="XConfigureEvent" c:type="XConfigureEvent"/>
     <record name="XID" c:type="XID"/>