mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
move string_is_affirmative() into libpbd
git-svn-id: svn://localhost/ardour2/branches/3.0@11936 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
81a76cc0fd
commit
d6051c9953
11 changed files with 54 additions and 27 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue