diff options
author | Robin Gareus <robin@gareus.org> | 2013-06-08 09:03:26 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2013-06-08 09:03:26 +0200 |
commit | ce0aa96838ff7c517eae7b4070afdb61932be3aa (patch) | |
tree | 3e6ed31b0830f6d4826210c7f2dd1937eca196c7 /gtk2_ardour/window_manager.cc | |
parent | fea8e860c625fc669bbdc469e44e9ba5026b9bf2 (diff) |
NOOP - use PBD's std::string to number functions
Diffstat (limited to 'gtk2_ardour/window_manager.cc')
-rw-r--r-- | gtk2_ardour/window_manager.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gtk2_ardour/window_manager.cc b/gtk2_ardour/window_manager.cc index 2a195ac90f..b76958d4d4 100644 --- a/gtk2_ardour/window_manager.cc +++ b/gtk2_ardour/window_manager.cc @@ -34,6 +34,7 @@ using std::string; using namespace WM; +using namespace PBD; Manager* Manager::_instance = 0; @@ -218,16 +219,16 @@ ProxyBase::set_state (const XMLNode& node) } if ((prop = (*i)->property (X_("x-off"))) != 0) { - _x_off = atoi (prop->value().c_str()); + _x_off = atoi (prop->value()); } if ((prop = (*i)->property (X_("y-off"))) != 0) { - _y_off = atoi (prop->value().c_str()); + _y_off = atoi (prop->value()); } if ((prop = (*i)->property (X_("x-size"))) != 0) { - _width = atoi (prop->value().c_str()); + _width = atoi (prop->value()); } if ((prop = (*i)->property (X_("y-size"))) != 0) { - _height = atoi (prop->value().c_str()); + _height = atoi (prop->value()); } } |