diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-08-01 23:40:03 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-02-22 15:31:23 -0500 |
commit | d0fc12bd22107bf6f14a2c249ed340d40e596f58 (patch) | |
tree | 3818fcc03167da4b0c0b3eb24f5d6a2743577e02 /libs/gtkmm2ext/actions.cc | |
parent | f48053b1fbf740f84abd97b61b9e459e9f5df7b9 (diff) |
remove all action-registering API from Gtkmm2ext::ActionManager
Diffstat (limited to 'libs/gtkmm2ext/actions.cc')
-rw-r--r-- | libs/gtkmm2ext/actions.cc | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/libs/gtkmm2ext/actions.cc b/libs/gtkmm2ext/actions.cc index 9471067de9..c562816259 100644 --- a/libs/gtkmm2ext/actions.cc +++ b/libs/gtkmm2ext/actions.cc @@ -53,76 +53,6 @@ using namespace Gtkmm2ext; RefPtr<UIManager> ActionManager::ui_manager; string ActionManager::unbound_string = "--"; - -RefPtr<Action> -ActionManager::register_action (RefPtr<ActionGroup> group, const char * name, const char * label, slot<void> sl) -{ - RefPtr<Action> act; - - act = Action::create (name, label); - group->add (act, sl); - - return act; -} - -RefPtr<Action> -ActionManager::register_action (RefPtr<ActionGroup> group, const char * name, const char * label) -{ - RefPtr<Action> act; - - act = Action::create (name, label); - group->add (act); - - return act; -} - - -RefPtr<Action> -ActionManager::register_radio_action (RefPtr<ActionGroup> group, RadioAction::Group& rgroup, const char * name, const char * label, slot<void> sl) -{ - RefPtr<Action> act; - - act = RadioAction::create (rgroup, name, label); - group->add (act, sl); - - return act; -} - -RefPtr<Action> -ActionManager::register_radio_action ( - RefPtr<ActionGroup> group, RadioAction::Group& rgroup, string const & name, string const & label, string const & tooltip, slot<void> sl - ) -{ - RefPtr<Action> act; - - act = RadioAction::create (rgroup, name, label, tooltip); - group->add (act, sl); - - return act; -} - -RefPtr<Action> -ActionManager::register_toggle_action (RefPtr<ActionGroup> group, const char * name, const char * label, slot<void> sl) -{ - RefPtr<Action> act; - - act = ToggleAction::create (name, label); - group->add (act, sl); - - return act; -} - -RefPtr<Action> -ActionManager::register_toggle_action (RefPtr<ActionGroup> group, string const & name, string const & label, string const & tooltip, slot<void> sl) -{ - RefPtr<Action> act; - - act = ToggleAction::create (name, label, tooltip); - group->add (act, sl); - - return act; -} - bool ActionManager::lookup_entry (const ustring accel_path, Gtk::AccelKey& key) { |