Re: [libvirt-glib] Fix gvir_config_domain_clock_set_variable_offset

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

 



On Mon, Nov 28, 2011 at 04:32:04PM +0100, Christophe Fergeau wrote:
> It was creating an extra <clock> node as a child of the "main" one
> which is not what was intended
> ---
>  libvirt-gconfig/libvirt-gconfig-domain-clock.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/libvirt-gconfig/libvirt-gconfig-domain-clock.c b/libvirt-gconfig/libvirt-gconfig-domain-clock.c
> index 27d1e67..b28856c 100644
> --- a/libvirt-gconfig/libvirt-gconfig-domain-clock.c
> +++ b/libvirt-gconfig/libvirt-gconfig-domain-clock.c
> @@ -121,7 +121,7 @@ void gvir_config_domain_clock_set_variable_offset(GVirConfigDomainClock *klock,
>  
>      g_return_if_fail(GVIR_IS_CONFIG_DOMAIN_CLOCK(klock));
>  
> -    node = gvir_config_object_replace_child(GVIR_CONFIG_OBJECT(klock), "clock");
> +    node = gvir_config_object_get_xml_node(GVIR_CONFIG_OBJECT(klock));
>      if (node == NULL)
>          return;
>  

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 :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]