[gnome-boxes] Use explicit GetXML flag name, bump libvirt-glib dep
- From: Marc-Andre Lureau <malureau src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] Use explicit GetXML flag name, bump libvirt-glib dep
- Date: Mon, 30 Jul 2012 17:13:45 +0000 (UTC)
commit 1fa5ae4c6638d48a58901db0411fca5cdb929205
Author: Marc-Andrà Lureau <marcandre lureau gmail com>
Date: Wed Jul 18 19:17:21 2012 +0200
Use explicit GetXML flag name, bump libvirt-glib dep
Bump libvirt-glib to 0.1.1 for flag names.
https://bugzilla.gnome.org/show_bug.cgi?id=680187
configure.ac | 2 +-
src/libvirt-machine.vala | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 458958b..4c7d6ac 100644
--- a/configure.ac
+++ b/configure.ac
@@ -46,7 +46,7 @@ GLIB_MIN_VERSION=2.29.90
GOBJECT_INTROSPECTION_MIN_VERSION=0.9.6
GTK_MIN_VERSION=3.5.5
GTK_VNC_MIN_VERSION=0.4.4
-LIBVIRT_GLIB_MIN_VERSION=0.0.8
+LIBVIRT_GLIB_MIN_VERSION=0.1.1
LIBVIRT_GCONFIG_MIN_VERSION=0.1.0
LIBXML2_MIN_VERSION=2.7.8
SPICE_GTK_MIN_VERSION=0.9
diff --git a/src/libvirt-machine.vala b/src/libvirt-machine.vala
index e998c9d..260b30e 100644
--- a/src/libvirt-machine.vala
+++ b/src/libvirt-machine.vala
@@ -80,7 +80,8 @@ private class Boxes.LibvirtMachine: Boxes.Machine {
public void update_domain_config () {
try {
- domain_config = domain.get_config (0);
+ domain_config = domain.get_config (GVir.DomainXMLFlags.NONE);
+
var volume = get_storage_volume (connection, domain, null);
storage_volume_path = (volume != null)? volume.get_path () : null;
} catch (GLib.Error error) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]