[glibmm/gapplication: 1/2] Gio: Remove SettingsBackend.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm/gapplication: 1/2] Gio: Remove SettingsBackend.
- Date: Thu, 24 Mar 2011 10:03:01 +0000 (UTC)
commit e114e241f678a06d95a31f311b70db495db401ac
Author: Murray Cumming <murrayc murrayc com>
Date: Thu Mar 24 10:39:52 2011 +0100
Gio: Remove SettingsBackend.
* gio/src/settingsbackend.[hg|ccg]: Remove these because we do not know yet
if implementing GSettings backends is useful or encouraged, and our wrapper
is unimplemented, requiring an ABI break to fix it when adding the virtual
methods.
* gio/src/filelist.am: Remove mention of the files.
* gio/src/settings.hg: Remove use of SettingsBackend here too. Unfortunately
this might have been slightly useful but we cannot provide this API without
freezing a SettingsBackend API.
ChangeLog | 15 +++++++++-
gio/giomm.h | 5 +--
gio/src/filelist.am | 1 -
gio/src/settings.hg | 9 ++---
gio/src/settingsbackend.ccg | 23 ---------------
gio/src/settingsbackend.hg | 66 -------------------------------------------
6 files changed, 20 insertions(+), 99 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 161c9ee..2b82b43 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,17 @@
-2011-03-24 Murray Cumming <murrayc murrayc com>>
+2011-03-24 Murray Cumming <murrayc murrayc com>
+
+ Gio: Remove SettingsBackend.
+
+ * gio/src/settingsbackend.[hg|ccg]: Remove these because we do not know yet
+ if implementing GSettings backends is useful or encouraged, and our wrapper
+ is unimplemented, requiring an ABI break to fix it when adding the virtual
+ methods.
+ * gio/src/filelist.am: Remove mention of the files.
+ * gio/src/settings.hg: Remove use of SettingsBackend here too. Unfortunately
+ this might have been slightly useful but we cannot provide this API without
+ freezing a SettingsBackend API.
+
+2011-03-24 Murray Cumming <murrayc murrayc com>
More minor documentation corrections.
diff --git a/gio/giomm.h b/gio/giomm.h
index 28a0a86..de8cc27 100644
--- a/gio/giomm.h
+++ b/gio/giomm.h
@@ -1,9 +1,9 @@
#ifndef _GIOMM_H
#define _GIOMM_H
-/*
+/*
* Copyright (C) 2007 The giomm Development Team
- *
+ *
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -108,4 +108,3 @@
#include <giomm/volumemonitor.h>
#endif /* #ifndef _GIOMM_H */
-
diff --git a/gio/src/filelist.am b/gio/src/filelist.am
index bf65f86..ecb1bd8 100644
--- a/gio/src/filelist.am
+++ b/gio/src/filelist.am
@@ -78,7 +78,6 @@ giomm_files_any_hg = \
resolver.hg \
seekable.hg \
settings.hg \
- settingsbackend.hg \
socket.hg \
socketaddress.hg \
socketaddressenumerator.hg \
diff --git a/gio/src/settings.hg b/gio/src/settings.hg
index 1d85bba..1afb614 100644
--- a/gio/src/settings.hg
+++ b/gio/src/settings.hg
@@ -17,7 +17,6 @@
#include <glibmm/object.h>
#include <glibmm/variant.h>
-#include <giomm/settingsbackend.h>
_DEFS(giomm,gio)
_PINCLUDE(glibmm/private/object_p.h)
@@ -41,14 +40,14 @@ class Settings : public Glib::Object
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)
- _WRAP_CTOR(Settings(const Glib::ustring& schema, const Glib::RefPtr<SettingsBackend>& backend), g_settings_new_with_backend)
- _WRAP_CTOR(Settings(const Glib::ustring& schema, const Glib::RefPtr<SettingsBackend>& backend, const Glib::ustring& path), g_settings_new_with_backend_and_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)
public:
_WRAP_CREATE(const Glib::ustring& schema)
_WRAP_CREATE(const Glib::ustring& schema, const Glib::ustring& path)
- _WRAP_CREATE(const Glib::ustring& schema, const Glib::RefPtr<SettingsBackend>& backend)
- _WRAP_CREATE(const Glib::ustring& schema, const Glib::RefPtr<SettingsBackend>& backend, 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_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]