tweak search path for export profiles
[ardour.git] / libs / gtkmm2ext / actions.cc
index bff718e9b74aeed5a9d660aacad164bb56879324..e9ff15fa461f263934cdac1b2ced7713f3920110 100644 (file)
@@ -268,8 +268,10 @@ ActionManager::set_sensitive (vector<RefPtr<Action> >& actions, bool state)
 }
 
 void
-ActionManager::uncheck_toggleaction (const char * name)
+ActionManager::uncheck_toggleaction (string n)
 {
+       char const * name = n.c_str ();
+       
        const char *last_slash = strrchr (name, '/');
 
        if (last_slash == 0) {