diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-06-09 20:21:19 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-06-09 20:21:19 +0000 |
commit | e6eb059576eefd9a26c177627ae7dd3ba2feb727 (patch) | |
tree | 536ce6ee456f2306bb0346a51ede0a4aa64a8e63 /gtk2_ardour/actions.cc | |
parent | 9bd274bfdee62c9cc0e5752d2a72027d2c732cd0 (diff) |
the big Route structure refactor. !!!! THIS WILL ***NOT LOAD*** PRIOR 3.0 or 2.X SESSIONS !!!! BREAKAGE IS EXPECTED !!!! IF YOU HAVE AND NEED A WORKING 3.0 DO **NOT** UPDATE. !!!! otherwise, update and enjoy the steadily emerging joys of this major reworking of ardour internals
git-svn-id: svn://localhost/ardour2/branches/3.0@5137 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/actions.cc')
-rw-r--r-- | gtk2_ardour/actions.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/actions.cc b/gtk2_ardour/actions.cc index 74daa23a9a..a39283c977 100644 --- a/gtk2_ardour/actions.cc +++ b/gtk2_ardour/actions.cc @@ -324,7 +324,7 @@ ActionManager::set_sensitive (vector<RefPtr<Action> >& actions, bool state) void ActionManager::uncheck_toggleaction (const char * name) { - char *last_slash = strrchr (name, '/'); + const char *last_slash = strrchr (name, '/'); if (last_slash == 0) { fatal << string_compose (_("programmer error: %1 %2"), X_("illegal toggle action name"), name) << endmsg; @@ -339,7 +339,7 @@ ActionManager::uncheck_toggleaction (const char * name) memcpy (group_name, name + 10, len); group_name[len] = '\0'; - char* action_name = last_slash + 1; + const char* action_name = last_slash + 1; RefPtr<Action> act = get_action (group_name, action_name); if (act) { |