[gnome-boxes] box-config: make {load,save}_property() private



commit 7893ba8cbe368c865583f3f85b6ed3d2655cd87d
Author: Marc-Andrà Lureau <marcandre lureau gmail com>
Date:   Wed Oct 24 23:22:26 2012 +0200

    box-config: make {load,save}_property() private
    
    https://bugzilla.gnome.org/show_bug.cgi?id=680826

 src/box-config.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/box-config.vala b/src/box-config.vala
index 4c954a7..b2513e3 100644
--- a/src/box-config.vala
+++ b/src/box-config.vala
@@ -99,7 +99,7 @@ public class Boxes.BoxConfig: GLib.Object, Boxes.IConfig {
         save ();
     }
 
-    public void save_property (Object object, string property_name) {
+    private void save_property (Object object, string property_name) {
         var value = Value (object.get_class ().find_property (property_name).value_type);
 
         object.get_property (property_name, ref value);
@@ -119,7 +119,7 @@ public class Boxes.BoxConfig: GLib.Object, Boxes.IConfig {
         save ();
     }
 
-    public void load_property (Object object, string property_name, Value default_value) {
+    private void load_property (Object object, string property_name, Value default_value) {
         var property = object.get_class ().find_property (property_name);
         if (property == null) {
             debug ("You forgot the property '%s' needs to have public getter!", property_name);



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