diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2014-05-14 10:07:40 +1200 |
---|---|---|
committer | Robert Ancell <robert.ancell@canonical.com> | 2014-05-14 13:13:24 +1200 |
commit | 5e0c6d094a3cc4aca1d9d90971c61faf75f93d49 (patch) | |
tree | acbef7e118a2ce7822af636addea20caa3568764 /vapi/xcb.vapi | |
parent | 8f142dd05864dd3bb116ff2ce839f41e9eaf6bfe (diff) | |
download | vala-5e0c6d094a3cc4aca1d9d90971c61faf75f93d49.tar.gz |
xcb: Fix visuals iterator methods
https://bugzilla.gnome.org/show_bug.cgi?id=730090
Diffstat (limited to 'vapi/xcb.vapi')
-rw-r--r-- | vapi/xcb.vapi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vapi/xcb.vapi b/vapi/xcb.vapi index e66aa21a6..294991e4d 100644 --- a/vapi/xcb.vapi +++ b/vapi/xcb.vapi @@ -647,6 +647,7 @@ namespace Xcb { [CCode (cname = "xcb_depth_t", ref_function = "", unref_function = "")] public class Depth { public uint8 depth; + public int visuals_length (); public VisualTypeIterator visuals_iterator (); } @@ -668,12 +669,13 @@ namespace Xcb { public void next (); } + [SimpleType] [CCode (cname = "xcb_visualtype_iterator_t", has_type_id = false)] public struct VisualTypeIterator { public unowned VisualType data; public int rem; [CCode (cname = "xcb_visualtype_next")] - public void next (); + public static void next (ref VisualTypeIterator iter); } [Deprecated (since = "vala-0.14", replacement = "Xcb.Connection")] |