diff options
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()); } } |