[glibmm] Gio::Settings: Don't use the deprecated "schema" property



commit b3ef51a00d009cfa38e53c96f4023e7712e5206f
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date:   Sat May 23 09:05:09 2015 +0200

    Gio::Settings: Don't use the deprecated "schema" property
    
    * gio/src/settings.[hg|ccg]: Replace the deprecated "schema" property by
    "schema_id" in constructors.

 gio/src/settings.hg |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/gio/src/settings.hg b/gio/src/settings.hg
index 4303619..e87c0b3 100644
--- a/gio/src/settings.hg
+++ b/gio/src/settings.hg
@@ -47,16 +47,16 @@ class Settings : public Glib::Object
   _CLASS_GOBJECT(Settings, GSettings, G_SETTINGS, Glib::Object, GObject)
 
 protected:
-  _WRAP_CTOR(Settings(const Glib::ustring& schema), g_settings_new)
-  _WRAP_CTOR(Settings(const Glib::ustring& schema, const Glib::ustring& path), g_settings_new_with_path)
-  //TODO: Requires SettingsBackend: _WRAP_CTOR(Settings(const Glib::ustring& schema, const 
Glib::RefPtr<SettingsBackend>& backend), g_settings_new_with_backend)
-  //TODO: Requires SettingsBackend: _WRAP_CTOR(Settings(const Glib::ustring& schema, const 
Glib::RefPtr<SettingsBackend>& backend, const Glib::ustring& path), g_settings_new_with_backend_and_path)
+  _WRAP_CTOR(Settings(const Glib::ustring& schema_id), g_settings_new)
+  _WRAP_CTOR(Settings(const Glib::ustring& schema_id, const Glib::ustring& path), g_settings_new_with_path)
+  //TODO: Requires SettingsBackend: _WRAP_CTOR(Settings(const Glib::ustring& schema_id, const 
Glib::RefPtr<SettingsBackend>& backend), g_settings_new_with_backend)
+  //TODO: Requires SettingsBackend: _WRAP_CTOR(Settings(const Glib::ustring& schema_id, const 
Glib::RefPtr<SettingsBackend>& backend, const Glib::ustring& path), g_settings_new_with_backend_and_path)
 
 public:
-  _WRAP_CREATE(const Glib::ustring& schema)
-  _WRAP_CREATE(const Glib::ustring& schema, const Glib::ustring& path)
-  //TODO: Requires SettingsBackend: _WRAP_CREATE(const Glib::ustring& schema, const 
Glib::RefPtr<SettingsBackend>& backend)
-  //TODO: Requires SettingsBackend: _WRAP_CREATE(const Glib::ustring& schema, const 
Glib::RefPtr<SettingsBackend>& backend, const Glib::ustring& path)
+  _WRAP_CREATE(const Glib::ustring& schema_id)
+  _WRAP_CREATE(const Glib::ustring& schema_id, const Glib::ustring& path)
+  //TODO: Requires SettingsBackend: _WRAP_CREATE(const Glib::ustring& schema_id, const 
Glib::RefPtr<SettingsBackend>& backend)
+  //TODO: Requires SettingsBackend: _WRAP_CREATE(const Glib::ustring& schema_id, const 
Glib::RefPtr<SettingsBackend>& backend, const Glib::ustring& path)
 
   //TODO: Rename these to get/set_*_value_variant() and add templated get/set_*_value() methods as elsewhere?
   _WRAP_METHOD(bool set_value(const Glib::ustring& key, const Glib::VariantBase& value),  
g_settings_set_value)


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