[glibmm/glibmm-2-50] Revert "Gio::Settings: Make set_enum() + set_flags() usable"
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm/glibmm-2-50] Revert "Gio::Settings: Make set_enum() + set_flags() usable"
- Date: Tue, 4 Apr 2017 18:10:04 +0000 (UTC)
commit 24704f63f2d41db9efb0783d1d4d3cf98c7e504e
Author: Murray Cumming <murrayc murrayc com>
Date: Tue Apr 4 18:53:34 2017 +0200
Revert "Gio::Settings: Make set_enum() + set_flags() usable"
This reverts commit 47260efc771b4ee3556116a6a8871d30ff43361f.
We should not add API in a stable release cycle.
gio/src/settings.hg | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)
---
diff --git a/gio/src/settings.hg b/gio/src/settings.hg
index 24fd10b..dbdbf20 100644
--- a/gio/src/settings.hg
+++ b/gio/src/settings.hg
@@ -152,14 +152,10 @@ public:
_WRAP_METHOD(bool set_string_array(const Glib::ustring& key, const Glib::StringArrayHandle& value),
g_settings_set_strv)
- _WRAP_METHOD(int get_enum(const Glib::ustring& key) const, g_settings_get_enum)
- _WRAP_METHOD(bool get_enum(const Glib::ustring& key, int value), g_settings_set_enum,
- deprecated "This method is misnamed. Use set_enum() instead.")
- _WRAP_METHOD(bool set_enum(const Glib::ustring& key, int value), g_settings_set_enum)
+ _WRAP_METHOD(int get_enum(const Glib::ustring& key) const, g_settings_get_enum )
+ _WRAP_METHOD(bool get_enum(const Glib::ustring& key, int value), g_settings_set_enum)
_WRAP_METHOD(guint get_flags(const Glib::ustring& key) const, g_settings_get_flags)
- _WRAP_METHOD(bool get_flags(const Glib::ustring& key, guint value), g_settings_set_flags,
- deprecated "This method is misnamed. Use set_flags() instead.")
- _WRAP_METHOD(bool set_flags(const Glib::ustring& key, guint value), g_settings_set_flags)
+ _WRAP_METHOD(bool get_flags(const Glib::ustring& key, guint value), g_settings_set_flags)
// Ignore varargs functions.
_IGNORE(g_settings_get, g_settings_set)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]