diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-10-26 14:35:06 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-02-22 15:31:24 -0500 |
commit | bc487bb4b02a9780938d6cf8528c888e59161aa9 (patch) | |
tree | 967703b895cafc301d3a0d4876c343370760fef2 /libs/gtkmm2ext/window_proxy.cc | |
parent | 589f2a1ab83e4498920faa2f0ef37c1632eaf914 (diff) |
replicate the remove-all-trailing whitespace commit(s) in master
Diffstat (limited to 'libs/gtkmm2ext/window_proxy.cc')
-rw-r--r-- | libs/gtkmm2ext/window_proxy.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libs/gtkmm2ext/window_proxy.cc b/libs/gtkmm2ext/window_proxy.cc index d7670cb89e..8efebd0241 100644 --- a/libs/gtkmm2ext/window_proxy.cc +++ b/libs/gtkmm2ext/window_proxy.cc @@ -40,7 +40,7 @@ WindowProxy::WindowProxy (const std::string& name) , _x_off (-1) , _y_off (-1) , _width (-1) - , _height (-1) + , _height (-1) , vistracker (0) { } @@ -53,7 +53,7 @@ WindowProxy::WindowProxy (const std::string& name, const std::string& menu_name) , _x_off (-1) , _y_off (-1) , _width (-1) - , _height (-1) + , _height (-1) , vistracker (0) { } @@ -66,7 +66,7 @@ WindowProxy::WindowProxy (const std::string& name, const std::string& menu_name, , _x_off (-1) , _y_off (-1) , _width (-1) - , _height (-1) + , _height (-1) , vistracker (0) { set_state (node, 0); @@ -130,13 +130,13 @@ WindowProxy::set_action (Glib::RefPtr<Gtk::Action> act) } std::string -WindowProxy::action_name() const +WindowProxy::action_name() const { return string_compose (X_("toggle-%1"), _name); } void -WindowProxy::toggle() +WindowProxy::toggle() { if (!_window) { (void) get (true); @@ -176,12 +176,12 @@ XMLNode& WindowProxy::get_state () { XMLNode* node = new XMLNode (xml_node_name()); - char buf[32]; + char buf[32]; node->add_property (X_("name"), _name); if (_window && vistracker) { - + /* we have a window, so use current state */ _visible = vistracker->partially_visible (); @@ -232,7 +232,7 @@ WindowProxy::setup () set_pos_and_size (); } - + void WindowProxy::show () { |