On Fri, May 04, 2012 at 05:02:37AM +0300, Zeeshan Ali (Khattak) wrote:
On Wed, May 2, 2012 at 5:25 PM, Christophe Fergeau
<cfergeau(a)redhat.com> wrote:
> On Tue, May 01, 2012 at 08:30:39PM +0300, Zeeshan Ali (Khattak) wrote:
>> +
>> + gvir_config_xml_foreach_child(node, add_feature, &data);
>
> gvir_config_object_foreach_child
Not really, gvir_config_object_foreach_child seem to iterate grand
children of the object node and we are iterating direct children.
If you use NULL as the second argument, it should do what you want.
Christophe