[vala/0.12] glib-2.0: Add Node n_children() method and fix nth_child()
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.12] glib-2.0: Add Node n_children() method and fix nth_child()
- Date: Sun, 29 May 2011 11:20:42 +0000 (UTC)
commit 228124f0f49a9f6de28ad3e0c0774083313f0cda
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 dd0b6a5..0879d35 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]