Fix font size getter

git-svn-id: svn://localhost/trunk/ardour2@466 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Sampo Savolainen
2006-04-24 15:06:20 +00:00
parent f221ee5813
commit d9343ed8bd

View File

@@ -250,7 +250,7 @@ FFTGraph::draw_scales(Glib::RefPtr<Gdk::Window> window)
window->draw_line(graph_gc, coord, v_margin, coord, height - v_margin);
int width, height;
get_ink_pixel_size (layout, width, height);
layout->get_pixel_size (width, height);
window->draw_layout(white, coord - width / 2, v_margin / 2, layout);