summaryrefslogtreecommitdiff
path: root/gtk2_ardour/window_proxy.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-08-18 14:16:44 +0000
committerCarl Hetherington <carl@carlh.net>2010-08-18 14:16:44 +0000
commit6832155310c5de60ea6774f67dfc5787b592e75e (patch)
treeed7fac2b41ba7b341c764e567cc5634ec88f9232 /gtk2_ardour/window_proxy.h
parent8d9c88f48fba1b73301880120ff123d0c1e9338a (diff)
Fix font sizing in the big clock.
git-svn-id: svn://localhost/ardour2/branches/3.0@7650 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/window_proxy.h')
-rwxr-xr-xgtk2_ardour/window_proxy.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/gtk2_ardour/window_proxy.h b/gtk2_ardour/window_proxy.h
index ac102baa4d..58a67eb391 100755
--- a/gtk2_ardour/window_proxy.h
+++ b/gtk2_ardour/window_proxy.h
@@ -90,10 +90,12 @@ public:
return _window;
}
- /** Set the window and set it up. To be used after initial window creation */
- void set (T* w) {
+ /** Set the window and maybe set it up. To be used after initial window creation */
+ void set (T* w, bool s = true) {
_window = w;
- setup ();
+ if (s) {
+ setup ();
+ }
}
private: