From: Luca Bruno Date: Sun, 1 May 2011 06:50:50 +0000 (+0200) Subject: glib-2.0: Add Node n_children() method and fix nth_child() X-Git-Tag: 0.12.1~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=228124f0f49a9f6de28ad3e0c0774083313f0cda;p=thirdparty%2Fvala.git glib-2.0: Add Node n_children() method and fix nth_child() Fixes bug 649052. --- diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index dd0b6a5a2..0879d35cb 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -4101,7 +4101,7 @@ namespace GLib { public int child_position (Node child); public unowned Node first_child (); public unowned Node last_child (); - public unowned Node nth_child (); + public unowned Node nth_child (uint n); public unowned Node first_sibling (); public unowned Node next_sibling (); public unowned Node prev_sibling (); @@ -4115,6 +4115,7 @@ namespace GLib { public uint depth (); public uint n_nodes (TraverseFlags flags); + public uint n_children (); public uint max_height (); [CCode (cname = "g_node_unlink")]