diff options
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/axis_view.cc | 7 | ||||
-rw-r--r-- | gtk2_ardour/axis_view.h | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gtk2_ardour/axis_view.cc b/gtk2_ardour/axis_view.cc index 03ae8a4a57..c946d3cd8d 100644 --- a/gtk2_ardour/axis_view.cc +++ b/gtk2_ardour/axis_view.cc @@ -94,6 +94,13 @@ AxisView::get_gui_property (const std::string& property_name, std::string& value } void +AxisView::remove_gui_property (const std::string& property_name) +{ + property_hashtable.erase (property_name); + gui_object_state().remove_property (state_id(), property_name); +} + +void AxisView::set_gui_property (const std::string& property_name, const std::string& value) { property_hashtable.erase (property_name); diff --git a/gtk2_ardour/axis_view.h b/gtk2_ardour/axis_view.h index 3a3d901317..1a1686add9 100644 --- a/gtk2_ardour/axis_view.h +++ b/gtk2_ardour/axis_view.h @@ -84,6 +84,7 @@ public: } void set_gui_property (const std::string& property_name, const std::string& value); + void remove_gui_property (const std::string& property_name); void set_gui_property (const std::string& property_name, const char* value) { set_gui_property (property_name, std::string(value)); |