[gobject-introspection] Revert "Window isn't a record, but really a typedef for uint32"



commit 8f0ec9fe07fc39d269b15a6199da25e01162e4fe
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Thu Jul 9 11:11:35 2009 +0100

    Revert "Window isn't a record, but really a typedef for uint32"
    
    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 |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gir/xlib-2.0.gir b/gir/xlib-2.0.gir
index 02f9874..5ee0586 100644
--- a/gir/xlib-2.0.gir
+++ b/gir/xlib-2.0.gir
@@ -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"/>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]