diff options
author | U-eagle\daniel.boles <daniel.boles@eagle-ws29.eagle.local> | 2017-02-02 12:18:46 +0000 |
---|---|---|
committer | U-eagle\daniel.boles <daniel.boles@eagle-ws29.eagle.local> | 2017-02-02 12:25:29 +0000 |
commit | 4141f8f1a016e3717bef21ae316cdd98d10b46ca (patch) | |
tree | 42c84fec28970c9ece6f7d77a2c84ee551549148 | |
parent | c5bed834d97fecc59c431fd87a2081a64007afee (diff) | |
download | glibmm-4141f8f1a016e3717bef21ae316cdd98d10b46ca.tar.gz |
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
-rw-r--r-- | 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 9f0c67a0..831b972a 100644 --- a/gio/src/simpleaction.hg +++ b/gio/src/simpleaction.hg @@ -146,6 +146,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) @@ -158,9 +161,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 |