[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [libvirt-gconfig PATCHv2 22/32] Add gvir_config_object_add_child



On Mon, Nov 21, 2011 at 07:04:19PM +0100, Christophe Fergeau wrote:
> It's similar to gvir_config_object_replace_child except that if the
> current node already has a child with the correct name, it returns
> the existing child instead of replacing it.
> 
> --
> v2: instead of adding an argument to gvir_config_object_new_child,
> split the function in 2 separate ones, gvir_config_object_add_child
> and gvir_config_object_replace_child.
>     use g_return_if_fail to test function args for sanity

ACK

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]