]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
xcb: Fix depth iterator methods
authorRobert Ancell <robert.ancell@canonical.com>
Tue, 13 May 2014 22:01:05 +0000 (10:01 +1200)
committerRobert Ancell <robert.ancell@canonical.com>
Wed, 14 May 2014 04:02:37 +0000 (16:02 +1200)
https://bugzilla.gnome.org/show_bug.cgi?id=730089

vapi/xcb.vapi

index d15e11b2a70fb8173086aa8bc9ccbb036343bcb2..0fcfb6a851cfff9f2d1d84f5ba436758d80e2d1c 100644 (file)
@@ -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]