[vala] xcb: Fix depth iterator methods



commit 3e22104789e9672fd20d1023b4e0ae16cd5b208a
Author: Robert Ancell <robert ancell canonical com>
Date:   Wed May 14 10:01:05 2014 +1200

    xcb: Fix depth iterator methods
    
    https://bugzilla.gnome.org/show_bug.cgi?id=730089

 vapi/xcb.vapi |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/xcb.vapi b/vapi/xcb.vapi
index d15e11b..0fcfb6a 100644
--- a/vapi/xcb.vapi
+++ b/vapi/xcb.vapi
@@ -644,6 +644,7 @@ namespace Xcb {
                public uint16 width_in_millimeters;
                public uint16 height_in_millimeters;
                public VisualID root_visual;
+               public int allowed_depths_length ();
                public DepthIterator allowed_depths_iterator ();
        }
 
@@ -680,7 +681,7 @@ namespace Xcb {
                public unowned Depth data;
                public int rem;
                [CCode (cname = "xcb_depth_next")]
-               public void next ();
+               public static void next (ref DepthIterator iter);
        }
 
        [SimpleType]


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