X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fwindow_proxy.cc;h=ff525eb392e86ec108aa621d55709d716ada493c;hb=1de3eac2deeb5400e349114ff59d6fa0a6d6de1e;hp=5731d3509db3d0729ce497bcf53015f5f00ac856;hpb=110311e1860d6fb18b1985ca47f33126ae69f678;p=ardour.git diff --git a/gtk2_ardour/window_proxy.cc b/gtk2_ardour/window_proxy.cc index 5731d3509d..ff525eb392 100755 --- a/gtk2_ardour/window_proxy.cc +++ b/gtk2_ardour/window_proxy.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2010 Paul Davis + Copyright (C) 2010 Paul Davis This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -39,7 +39,7 @@ WindowProxyBase::WindowProxyBase (string const & name, XMLNode const * node) if (!node) { return; } - + XMLNodeList children = node->children (); XMLNodeList::const_iterator i = children.begin (); @@ -48,7 +48,7 @@ WindowProxyBase::WindowProxyBase (string const & name, XMLNode const * node) if ((*i)->name() == X_("Window") && prop && prop->value() == _name) { break; } - + ++i; } @@ -59,7 +59,7 @@ WindowProxyBase::WindowProxyBase (string const & name, XMLNode const * node) if ((prop = (*i)->property (X_("visible"))) != 0) { _visible = string_is_affirmative (prop->value ()); } - + if ((prop = (*i)->property (X_("x-off"))) != 0) { _x_off = atoi (prop->value().c_str()); } @@ -116,7 +116,7 @@ WindowProxyBase::get_state () const /* If the window has been created, get its current state; otherwise use the state that we started off with. */ - + Gtk::Window* gtk_window = get_gtk_window (); if (gtk_window) { v = gtk_window->is_visible ();