summaryrefslogtreecommitdiff
path: root/gtk2_ardour/utils.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-04-18 09:55:53 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-04-18 09:56:01 -0400
commitec8d521e98c37074a18ee6fc64cf57db850abb37 (patch)
tree0f37bab9ede2b07df891e63c6ce9a5617ab2d2d8 /gtk2_ardour/utils.cc
parentb7aeb147f24ae6c5d98d2a2663cfadcb2169ca6f (diff)
semi-fix xfade display, and reduce number of calls to Curve::get_vector() by a factor of two
Diffstat (limited to 'gtk2_ardour/utils.cc')
-rw-r--r--gtk2_ardour/utils.cc12
1 files changed, 0 insertions, 12 deletions
diff --git a/gtk2_ardour/utils.cc b/gtk2_ardour/utils.cc
index 8b07947f63..c9e67d1139 100644
--- a/gtk2_ardour/utils.cc
+++ b/gtk2_ardour/utils.cc
@@ -199,18 +199,6 @@ xpm2rgba (const char** xpm, uint32_t& w, uint32_t& h)
return (savergb);
}
-ArdourCanvas::Points*
-get_canvas_points (string /*who*/, uint32_t npoints)
-{
- // cerr << who << ": wants " << npoints << " canvas points" << endl;
-#ifdef TRAP_EXCESSIVE_POINT_REQUESTS
- if (npoints > (uint32_t) gdk_screen_width() + 4) {
- abort ();
- }
-#endif
- return new ArdourCanvas::Points (npoints);
-}
-
Pango::FontDescription
get_font_for_style (string widgetname)
{