After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 649052 - Problem with Node.nth_child() and Node.n_children()
Problem with Node.nth_child() and Node.n_children()
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: Bindings: GLib
0.12.x
Other Linux
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2011-04-30 23:49 UTC by Sébastien Wilmet
Modified: 2011-05-01 06:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sébastien Wilmet 2011-04-30 23:49:11 UTC
There are two problems in the vapi for the Node class:

Node.nth_child() takes normally one argument, but there is no argument.

And Node.n_children() doesn't exist.

I think the rest is OK.

Thanks in advance.
Comment 1 Luca Bruno 2011-05-01 06:52:58 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.

This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.