summaryrefslogtreecommitdiff
path: root/gtk2_ardour/window_manager.h
diff options
context:
space:
mode:
authorMichael R. Fisher <mfisher@bketech.com>2013-07-15 16:52:50 -0500
committerMichael Fisher <mfisher31@gmail.com>2013-07-15 22:57:35 -0500
commitfa1086d82d497d61140bb164abd7b9c94d1a9d28 (patch)
treef34702bbe38539837ac32caedd09bc6a5e09d59b /gtk2_ardour/window_manager.h
parentbf153e58a5e3b31536648bff4b95bf6e0a107c6c (diff)
Dereference pointers in ctors where appropriate. (c++11 wants this)
Diffstat (limited to 'gtk2_ardour/window_manager.h')
-rw-r--r--gtk2_ardour/window_manager.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/window_manager.h b/gtk2_ardour/window_manager.h
index 3a80840891..ca33b30234 100644
--- a/gtk2_ardour/window_manager.h
+++ b/gtk2_ardour/window_manager.h
@@ -151,7 +151,7 @@ class ProxyWithConstructor: public ProxyBase {
: ProxyBase (name, menu_name) , creator (c) {}
ProxyWithConstructor (const std::string& name, const std::string& menu_name, const boost::function<T*()>& c, const XMLNode* node)
- : ProxyBase (name, menu_name, node) , creator (c) {}
+ : ProxyBase (name, menu_name, *node) , creator (c) {}
Gtk::Window* get (bool create = false) {
if (!_window) {
@@ -198,7 +198,7 @@ class Proxy : public ProxyBase {
: ProxyBase (name, menu_name) {}
Proxy (const std::string& name, const std::string& menu_name, const XMLNode* node)
- : ProxyBase (name, menu_name, node) {}
+ : ProxyBase (name, menu_name, *node) {}
Gtk::Window* get (bool create = false) {
if (!_window) {