[vala] glib-2.0: Add Node n_children() method and fix nth_child()
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] glib-2.0: Add Node n_children() method and fix nth_child()
- Date: Sun, 1 May 2011 06:52:47 +0000 (UTC)
commit d38b4f0cf4a66543ccfa63352085504a3762db1f
Author: Luca Bruno <lucabru src gnome org>
Date: Sun May 1 08:50:50 2011 +0200
glib-2.0: Add Node n_children() method and fix nth_child()
Fixes bug 649052.
vapi/glib-2.0.vapi | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 7666f89..1118ecc 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -4101,7 +4101,7 @@ namespace GLib {
public int child_position (Node<G> child);
public unowned Node<G> first_child ();
public unowned Node<G> last_child ();
- public unowned Node<G> nth_child ();
+ public unowned Node<G> nth_child (uint n);
public unowned Node<G> first_sibling ();
public unowned Node<G> next_sibling ();
public unowned Node<G> 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")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]