From f8574fc39db29188958f8aebb5b8544ae015718e Mon Sep 17 00:00:00 2001 From: John Emmas Date: Thu, 3 Oct 2013 09:06:56 +0100 Subject: 'gtk2_ardour' - Add namespaces + casting where necessary + general bits of 'correctness' to keep MSVC happy --- gtk2_ardour/window_manager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk2_ardour/window_manager.h') 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 (creator ()); if (_window) { setup (); -- cgit v1.2.3