summaryrefslogtreecommitdiff
path: root/libs/gtkmm2ext/gtkmm2ext/bindings.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/gtkmm2ext/gtkmm2ext/bindings.h')
-rw-r--r--libs/gtkmm2ext/gtkmm2ext/bindings.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/gtkmm2ext/gtkmm2ext/bindings.h b/libs/gtkmm2ext/gtkmm2ext/bindings.h
index fc1e5c39fb..34b2cd4cce 100644
--- a/libs/gtkmm2ext/gtkmm2ext/bindings.h
+++ b/libs/gtkmm2ext/gtkmm2ext/bindings.h
@@ -113,7 +113,7 @@ class LIBGTKMM2EXT_API Bindings {
std::string action_name;
std::string group_name; /* may be empty */
- Glib::RefPtr<Gtk::Action> action;
+ mutable Glib::RefPtr<Gtk::Action> action;
};
typedef std::map<KeyboardKey,ActionInfo> KeybindingMap;
@@ -140,7 +140,7 @@ class LIBGTKMM2EXT_API Bindings {
void remove (MouseButton, Operation);
bool activate (MouseButton, Operation);
- bool is_bound (KeyboardKey const&, Operation) const;
+ bool is_bound (KeyboardKey const&, Operation, std::string* path = 0) const;
std::string bound_name (KeyboardKey const&, Operation) const;
bool is_registered (Operation op, std::string const& action_name) const;