summaryrefslogtreecommitdiff
path: root/gtk2_ardour/window_manager.h
diff options
context:
space:
mode:
authorJohn Emmas <johne53@tiscali.co.uk>2013-10-03 09:06:56 +0100
committerJohn Emmas <johne53@tiscali.co.uk>2013-10-03 09:06:56 +0100
commitf8574fc39db29188958f8aebb5b8544ae015718e (patch)
treeb4049b95fa94b58f5981af5b8beaa625dd6074f7 /gtk2_ardour/window_manager.h
parentd382925fba75aa440db696c2ad3468e6463dc30a (diff)
'gtk2_ardour' - Add namespaces + casting where necessary + general bits of 'correctness' to keep MSVC happy
Diffstat (limited to 'gtk2_ardour/window_manager.h')
-rw-r--r--gtk2_ardour/window_manager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/window_manager.h b/gtk2_ardour/window_manager.h
index ca33b30234..135f72c3ee 100644
--- a/gtk2_ardour/window_manager.h
+++ b/gtk2_ardour/window_manager.h
@@ -159,7 +159,7 @@ class ProxyWithConstructor: public ProxyBase {
return 0;
}
- _window = creator ();
+ _window = dynamic_cast<Gtk::Window*> (creator ());
if (_window) {
setup ();