diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-04-12 11:45:40 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-04-12 11:45:40 +0000 |
commit | d6051c9953ea8778399ad72fc91c334c242d25e0 (patch) | |
tree | 34c9725486c0c7b9242c8b645aa2e4290218273a /gtk2_ardour/window_proxy.cc | |
parent | 81a76cc0fdf569e96697c4cea58debb74d6e5545 (diff) |
move string_is_affirmative() into libpbd
git-svn-id: svn://localhost/ardour2/branches/3.0@11936 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/window_proxy.cc')
-rwxr-xr-x | gtk2_ardour/window_proxy.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk2_ardour/window_proxy.cc b/gtk2_ardour/window_proxy.cc index ff525eb392..99da166af0 100755 --- a/gtk2_ardour/window_proxy.cc +++ b/gtk2_ardour/window_proxy.cc @@ -19,6 +19,9 @@ #include <gtkmm/window.h> #include "window_proxy.h" + +#include "pbd/convert.h" + #include "i18n.h" using namespace std; @@ -57,7 +60,7 @@ WindowProxyBase::WindowProxyBase (string const & name, XMLNode const * node) XMLProperty* prop; if ((prop = (*i)->property (X_("visible"))) != 0) { - _visible = string_is_affirmative (prop->value ()); + _visible = PBD::string_is_affirmative (prop->value ()); } if ((prop = (*i)->property (X_("x-off"))) != 0) { |