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

Re: [libvirt] [libvirt-glib] Fix gvir_config_domain_clock_set_variable_offset



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


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