diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-11-18 15:35:58 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-11-18 15:35:58 +0000 |
commit | 8ad4133d26a098e15c6de984a6a6aff5d9271c24 (patch) | |
tree | 2f6110558c20ecb743e6900e875f38ed118fcaed /gtk2_ardour/group_tabs.cc | |
parent | e5329ca777caea45a754ef1b57e031602c9a61ab (diff) |
don't cache width & height for CairoWidget; provide option for all CairoWidgets to not draw their backgrounds; provide a static method to allow any (Container, probably) widget to provide background color to a CairoWidget without the requirement that it have its own window; remove existing cursor from clocks; clock text no longer has background attribute set, to correct a mistake in my understanding of pango attributes
git-svn-id: svn://localhost/ardour2/branches/3.0@10673 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/group_tabs.cc')
-rw-r--r-- | gtk2_ardour/group_tabs.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/group_tabs.cc b/gtk2_ardour/group_tabs.cc index 94caf59936..c1b6e5142d 100644 --- a/gtk2_ardour/group_tabs.cc +++ b/gtk2_ardour/group_tabs.cc @@ -244,7 +244,7 @@ GroupTabs::render (cairo_t* cr) /* background */ cairo_set_source_rgb (cr, 0, 0, 0); - cairo_rectangle (cr, 0, 0, _width, _height); + cairo_rectangle (cr, 0, 0, get_width(), get_height()); cairo_fill (cr); /* tabs */ |