[gnome-boxes] LibvirtMachine: Make the 'properties' field public



commit a09fb7017ed18082aa67dfac3f8aea022c746bdf
Author: Timm Bäder <mail baedert org>
Date:   Sat Aug 9 16:26:27 2014 +0200

    LibvirtMachine: Make the 'properties' field public
    
    Creating, fetching, etc. of snapshots is now part of the
    LibvirtMachineProperties and to be able to create snapshots from outside
    the machine, we need access to its properties.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=710306

 src/libvirt-machine.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libvirt-machine.vala b/src/libvirt-machine.vala
index 804d34b..77df4fb 100644
--- a/src/libvirt-machine.vala
+++ b/src/libvirt-machine.vala
@@ -22,7 +22,7 @@ private class Boxes.LibvirtMachine: Boxes.Machine {
     // If this machine is currently being imported
     public bool importing { get { return vm_creator != null && vm_creator is VMImporter; } }
 
-    private LibvirtMachineProperties properties;
+    public LibvirtMachineProperties properties;
 
     public bool save_on_quit {
         get { return source.get_boolean ("source", "save-on-quit"); }


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