audio clock switchover part2: remove most egregious include-time dependency on audio_clock.h, and alter API for a few utilities along the way

git-svn-id: svn://localhost/ardour2/branches/3.0@9673 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-06-02 17:50:37 +00:00
parent add91aa2d7
commit 83f385d263
25 changed files with 161 additions and 148 deletions

View file

@ -303,7 +303,7 @@ get_canvas_points (string /*who*/, uint32_t npoints)
return new ArdourCanvas::Points (npoints);
}
Pango::FontDescription*
Pango::FontDescription
get_font_for_style (string widgetname)
{
Gtk::Window window (WINDOW_TOPLEVEL);
@ -326,10 +326,10 @@ get_font_for_style (string widgetname)
PangoContext* ctxt = (PangoContext*) pango_layout_get_context ((PangoLayout*) layout->gobj());
pfd = pango_context_get_font_description (ctxt);
return new Pango::FontDescription (pfd, true); /* make a copy */
return Pango::FontDescription (pfd); /* make a copy */
}
return new Pango::FontDescription (pfd, true); /* make a copy */
return Pango::FontDescription (pfd); /* make a copy */
}
uint32_t