diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-10-15 18:56:11 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-10-15 18:56:11 +0000 |
commit | 8713667ec1a6cc9ba56c07f763e5a422cc47fbef (patch) | |
tree | 56727634d8a1567679a7ba76cff93bf06e7c271f /gtk2_ardour/ui_config.cc | |
parent | 79f91c7a205d981d2b8cc15e32a6da02d8423065 (diff) |
rework Stateful::set_state() patch to avoid default version argument
git-svn-id: svn://localhost/ardour2/branches/3.0@5787 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ui_config.cc')
-rw-r--r-- | gtk2_ardour/ui_config.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/ui_config.cc b/gtk2_ardour/ui_config.cc index 1f1f25f239..d0878073b7 100644 --- a/gtk2_ardour/ui_config.cc +++ b/gtk2_ardour/ui_config.cc @@ -86,7 +86,7 @@ UIConfiguration::load_defaults () return -1; } - if (set_state (*tree.root())) { + if (set_state (*tree.root(), Stateful::loading_state_version)) { error << string_compose(_("Ardour: default ui configuration file \"%1\" not loaded successfully."), rcfile) << endmsg; return -1; } @@ -116,7 +116,7 @@ UIConfiguration::load_state () return -1; } - if (set_state (*tree.root())) { + if (set_state (*tree.root(), Stateful::loading_state_version)) { error << string_compose(_("Ardour: default ui configuration file \"%1\" not loaded successfully."), rcfile) << endmsg; return -1; } @@ -139,7 +139,7 @@ UIConfiguration::load_state () return -1; } - if (set_state (*tree.root())) { + if (set_state (*tree.root(), Stateful::loading_state_version)) { error << string_compose(_("Ardour: user ui configuration file \"%1\" not loaded successfully."), rcfile) << endmsg; return -1; } |