[glibmm] Gio::Settings: Make set_enum() + set_flags() usable
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] Gio::Settings: Make set_enum() + set_flags() usable
- Date: Wed, 30 Nov 2016 15:19:14 +0000 (UTC)
commit f7e14802dc63ed7780a2ac8286f9466ff73e8472
Author: djb <db0451 gmail com>
Date: Wed Nov 30 16:16:58 2016 +0100
Gio::Settings: Make set_enum() + set_flags() usable
The _WRAP_METHOD calls had the names typo'd as get_enum() + get_flags().
https://bugzilla.gnome.org/show_bug.cgi?id=774647
gio/src/settings.hg | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gio/src/settings.hg b/gio/src/settings.hg
index b886b2b..48ffcd1 100644
--- a/gio/src/settings.hg
+++ b/gio/src/settings.hg
@@ -152,10 +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)
+ _WRAP_METHOD(int get_enum(const Glib::ustring& key) const, g_settings_get_enum)
+ _WRAP_METHOD(bool set_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)
+ _WRAP_METHOD(bool set_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]