[glibmm/glibmm-2-52] Gio::SimpleAction: Move set_state to original pos
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm/glibmm-2-52] Gio::SimpleAction: Move set_state to original pos
- Date: Thu, 4 May 2017 13:44:03 +0000 (UTC)
commit e432aef9f2fc81f98ba8fe2008cac7f85575c1b4
Author: U-eagle\daniel.boles <daniel.boles@eagle-ws29.eagle.local>
Date: Thu Feb 2 12:18:46 2017 +0000
Gio::SimpleAction: Move set_state to original pos
If I’d realised there was a specific commit that protected this, I would
have reverted it, rather than doing it manually in my previous commit.
Completes reversion of commit b7431bca6ccbd9f918b5ef73bae65a1c7828e7e0 –
“Gio::SimpleAction: Make set_state() protected.”
https://bugzilla.gnome.org/show_bug.cgi?id=777953
gio/src/simpleaction.hg | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gio/src/simpleaction.hg b/gio/src/simpleaction.hg
index c55fdf0..fe7e669 100644
--- a/gio/src/simpleaction.hg
+++ b/gio/src/simpleaction.hg
@@ -144,6 +144,9 @@ public:
_WRAP_METHOD(void set_enabled(bool enabled = true), g_simple_action_set_enabled)
+ //TODO: Add templated version of this, renaming this to set_state_variant(), like Action::change_state()?
+ _WRAP_METHOD(void set_state(const Glib::VariantBase& value), g_simple_action_set_state)
+
_WRAP_METHOD(void set_state_hint(const Glib::VariantBase& state_hint), g_simple_action_set_state_hint)
_WRAP_PROPERTY("enabled", bool)
@@ -156,9 +159,6 @@ public:
_WRAP_SIGNAL(void activate(const Glib::VariantBase& parameter), "activate", no_default_handler)
_WRAP_SIGNAL(void change_state(const Glib::VariantBase& value), "change-state", no_default_handler)
-
- //TODO: Add templated version of this, renaming this to set_state_variant(), like Action::change_state()?
- _WRAP_METHOD(void set_state(const Glib::VariantBase& value), g_simple_action_set_state)
};
} // namespace Gio
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]