[gnome-boxes] installer: Make two props of UnattendedFile, public



commit 121d790ebc55cb518b47e53fc1ab9d3612eb177b
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Wed Dec 5 17:42:42 2012 +0200

    installer: Make two props of UnattendedFile, public
    
    Make dest_name & src_path properties of UnattendedFile interface, public.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=676537

 src/unattended-installer.vala |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/src/unattended-installer.vala b/src/unattended-installer.vala
index dd7e42d..86c8681 100644
--- a/src/unattended-installer.vala
+++ b/src/unattended-installer.vala
@@ -404,8 +404,8 @@ private abstract class Boxes.UnattendedInstaller: InstallerMedia {
 }
 
 private interface Boxes.UnattendedFile : GLib.Object {
-    protected abstract string src_path { get; set; }
-    protected abstract string dest_name { get; set; }
+    public abstract string src_path { get; set; }
+    public abstract string dest_name { get; set; }
 
     protected abstract UnattendedInstaller installer  { get; set; }
 
@@ -425,8 +425,8 @@ private interface Boxes.UnattendedFile : GLib.Object {
 }
 
 private class Boxes.UnattendedRawFile : GLib.Object, Boxes.UnattendedFile {
-    protected string src_path { get; set; }
-    protected string dest_name { get; set; }
+    public string dest_name { get; set; }
+    public string src_path { get; set; }
 
     protected UnattendedInstaller installer  { get; set; }
 
@@ -442,8 +442,8 @@ private class Boxes.UnattendedRawFile : GLib.Object, Boxes.UnattendedFile {
 }
 
 private class Boxes.UnattendedTextFile : GLib.Object, Boxes.UnattendedFile {
-    protected string src_path { get; set; }
-    protected string dest_name { get; set; }
+    public string dest_name { get; set; }
+    public string src_path { get; set; }
 
     protected UnattendedInstaller installer  { get; set; }
 
@@ -494,8 +494,8 @@ private class Boxes.UnattendedTextFile : GLib.Object, Boxes.UnattendedFile {
 }
 
 private class Boxes.UnattendedAvatarFile : GLib.Object, Boxes.UnattendedFile {
-    protected string src_path { get; set; }
-    protected string dest_name { get; set; }
+    public string dest_name { get; set; }
+    public string src_path { get; set; }
 
     protected UnattendedInstaller installer  { get; set; }
 



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