summaryrefslogtreecommitdiff
path: root/libs/gtkmm2ext
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2019-03-20 11:12:06 -0700
committerPaul Davis <paul@linuxaudiosystems.com>2019-03-20 11:12:06 -0700
commited97a290db2c7c5e7bbc5ac3ac1a8917d13e22b5 (patch)
treed62a8291afc8c99d47c823d6bc5d758df077a262 /libs/gtkmm2ext
parentfd3b8f79af8facfe11638af6876b38a2d05f74db (diff)
make ::ardour_action_name() private to Bindings, because nothing else uses it and it semi-exposes the <Actions> nonsense
Diffstat (limited to 'libs/gtkmm2ext')
-rw-r--r--libs/gtkmm2ext/gtkmm2ext/bindings.h31
1 files changed, 16 insertions, 15 deletions
diff --git a/libs/gtkmm2ext/gtkmm2ext/bindings.h b/libs/gtkmm2ext/gtkmm2ext/bindings.h
index f9c3aa7543..b8e029dabd 100644
--- a/libs/gtkmm2ext/gtkmm2ext/bindings.h
+++ b/libs/gtkmm2ext/gtkmm2ext/bindings.h
@@ -132,21 +132,6 @@ class LIBGTKMM2EXT_API Bindings {
void save (XMLNode& root);
void save_as_html (std::ostream&, bool) const;
- /* GTK has the following position a Gtk::Action:
- *
- * accel_path: <Actions>/GroupName/ActionName
- * name: ActionName
- *
- * We want proper namespacing and we're not interested in
- * the silly <Actions> "extra" namespace. So in Ardour:
- *
- * accel_path: <Actions>/GroupName/ActionName
- * name: GroupName/ActionName
- *
- * This (static) method returns the "ardour" name for the action.
- */
- static std::string ardour_action_name (Glib::RefPtr<Gtk::Action>);
-
/* used for editing bindings */
void get_all_actions (std::vector<std::string>& paths,
std::vector<std::string>& labels,
@@ -177,6 +162,22 @@ class LIBGTKMM2EXT_API Bindings {
KeybindingMap& get_keymap (Operation op);
const KeybindingMap& get_keymap (Operation op) const;
MouseButtonBindingMap& get_mousemap (Operation op);
+
+ /* GTK has the following position a Gtk::Action:
+ *
+ * accel_path: <Actions>/GroupName/ActionName
+ * name: ActionName
+ *
+ * We want proper namespacing and we're not interested in
+ * the silly <Actions> "extra" namespace. So in Ardour:
+ *
+ * accel_path: <Actions>/GroupName/ActionName
+ * name: GroupName/ActionName
+ *
+ * This (static) method returns the "ardour" name for the action.
+ */
+ static std::string ardour_action_name (Glib::RefPtr<Gtk::Action>);
+
};
} // namespace