[gnome-boxes] unattended-file: Make get_source_file() public



commit b2547f7c39fa93d5536126d633c399a16f483ccf
Author: Fabiano FidĂȘncio <fidencio redhat com>
Date:   Tue Jun 11 13:34:16 2019 +0200

    unattended-file: Make get_source_file() public
    
    Let's make get_source_file() public in order to be able to have direct
    access to the generated files and not only through the copy() method.
    
    This is going to be handy when dealing with cdrom injections, as we can
    pass the files' path to genisoimage directly.
    
    Signed-off-by: Fabiano FidĂȘncio <fidencio redhat com>

 src/unattended-file.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/unattended-file.vala b/src/unattended-file.vala
index 3c9ca8cc..7705e73c 100644
--- a/src/unattended-file.vala
+++ b/src/unattended-file.vala
@@ -35,7 +35,7 @@ protected static async void default_copy (string       disk_file,
         debug ("Copied unattended file '%s' into disk drive/image '%s'", dest_name, disk_file);
     }
 
-    protected abstract async File get_source_file (Cancellable? cancellable)  throws GLib.Error;
+    public abstract async File get_source_file (Cancellable? cancellable)  throws GLib.Error;
 
     private static void copy_with_libarchive (string disk_file, string source_file, string dest_name) throws 
GLib.Error {
         var reader = new ArchiveReader (disk_file);


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