[gnome-boxes/gnome-3-16] vm-configurator: set_target_media_config() public now



commit 02adcd3b8e67aa2fd8ed3fcf770b2173038e7571
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Tue Jul 21 23:14:14 2015 +0100

    vm-configurator: set_target_media_config() public now
    
    In a following patch, this will be used to add new disk configuration
    during import from system libvirt domain to session libvirt.

 src/vm-configurator.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/vm-configurator.vala b/src/vm-configurator.vala
index 66a75d8..b9e13bc 100644
--- a/src/vm-configurator.vala
+++ b/src/vm-configurator.vala
@@ -267,7 +267,7 @@ private class Boxes.VMConfigurator {
         }
     }
 
-    private static void set_target_media_config (Domain domain, string target_path, InstallerMedia 
install_media) {
+    public static void set_target_media_config (Domain domain, string target_path, InstallerMedia 
install_media) {
         var disk = new DomainDisk ();
         disk.set_type (DomainDiskType.FILE);
         disk.set_guest_device_type (DomainDiskGuestDeviceType.DISK);


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