Re: [libvirt-glib 11/23] Use gvir_config_object_to_xml

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

 



On Fri, Oct 07, 2011 at 11:40:56AM +0200, Christophe Fergeau wrote:
> s/gvir_config_object_get_doc/gvir_config_object_to_xml/
> 
> Prefer gvir_config_object_to_xml over gvir_config_object_get_doc
> since the latter will be removed soon.
> ---
>  libvirt-gobject/libvirt-gobject-connection.c   |    2 +-
>  libvirt-gobject/libvirt-gobject-storage-pool.c |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/libvirt-gobject/libvirt-gobject-connection.c b/libvirt-gobject/libvirt-gobject-connection.c
> index 007d86e..71fa768 100644
> --- a/libvirt-gobject/libvirt-gobject-connection.c
> +++ b/libvirt-gobject/libvirt-gobject-connection.c
> @@ -1170,7 +1170,7 @@ GVirDomain *gvir_connection_create_domain(GVirConnection *conn,
>      virDomainPtr handle;
>      GVirConnectionPrivate *priv = conn->priv;
>  
> -    xml = gvir_config_object_get_doc(GVIR_CONFIG_OBJECT(conf));
> +    xml = gvir_config_object_to_xml(GVIR_CONFIG_OBJECT(conf));
>  
>      g_return_val_if_fail(xml != NULL, NULL);
>  
> diff --git a/libvirt-gobject/libvirt-gobject-storage-pool.c b/libvirt-gobject/libvirt-gobject-storage-pool.c
> index fc9cba9..8cc481e 100644
> --- a/libvirt-gobject/libvirt-gobject-storage-pool.c
> +++ b/libvirt-gobject/libvirt-gobject-storage-pool.c
> @@ -491,7 +491,7 @@ GVirStorageVol *gvir_storage_pool_create_volume
>      virStorageVolPtr handle;
>      GVirStoragePoolPrivate *priv = pool->priv;
>  
> -    xml = gvir_config_object_get_doc(GVIR_CONFIG_OBJECT(conf));
> +    xml = gvir_config_object_to_xml(GVIR_CONFIG_OBJECT(conf));
>  
>      g_return_val_if_fail(xml != NULL, NULL);

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]