packaging tweaks for OS X
[ardour.git] / gtk2_ardour / mixer_group_tabs.cc
index 2d33b54af358a312f2532ed75571bdcd4766991a..6482abebc2ad7f653b8200635824c4a4a987790e 100644 (file)
@@ -19,6 +19,8 @@
 
 #include <boost/foreach.hpp>
 
+#include "gtkmm2ext/utils.h"
+
 #include "ardour/route_group.h"
 #include "ardour/session.h"
 #include "mixer_group_tabs.h"
@@ -104,7 +106,7 @@ MixerGroupTabs::draw_tab (cairo_t* cr, Tab const & tab) const
        cairo_fill (cr);
 
        if (tab.group) {
-               pair<string, double> const f = fit_to_pixels (cr, tab.group->name(), tab.to - tab.from - arc_radius * 2);
+               pair<string, double> const f = Gtkmm2ext::fit_to_pixels (cr, tab.group->name(), tab.to - tab.from - arc_radius * 2);
 
                cairo_text_extents_t ext;
                cairo_text_extents (cr, tab.group->name().c_str(), &ext);