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);
--
1.7.6.4