Plugin GUI activate/enable update (prefer enable)
[ardour.git] / gtk2_ardour / keyboard.cc
index bdf40e680cdcef04ac512265a016b11ef46d2519..729337ed1152bbfb9c99c112b1ff6549e3620aaa 100644 (file)
@@ -56,7 +56,7 @@ ArdourKeyboard::find_bindings_files (map<string,string>& files)
        vector<std::string> found;
        Searchpath spath = ardour_config_search_path();
 
-       find_files_matching_pattern (found, spath, string_compose ("*.%1", Keyboard::binding_filename_suffix));
+       find_files_matching_pattern (found, spath, string_compose ("*%1", Keyboard::binding_filename_suffix));
 
        if (found.empty()) {
                return;
@@ -227,7 +227,7 @@ ArdourKeyboard::get_state (void)
 int
 ArdourKeyboard::set_state (const XMLNode& node, int version)
 {
-       const XMLProperty* prop;
+       XMLProperty const * prop;
 
        if ((prop = node.property ("constraint-modifier")) != 0) {
                sscanf (prop->value().c_str(), "%d", &constraint_mod);