summaryrefslogtreecommitdiff
path: root/gtk2_ardour/utils.cc
diff options
context:
space:
mode:
authorJulien de Kozak <jdekozak@hotmail.com>2013-03-23 14:33:20 +0100
committerJulien de Kozak <jdekozak@hotmail.com>2013-03-23 14:50:58 +0100
commit16f8fc06578dac939e9d26af2f016a2d42405d7a (patch)
tree0c3e0f7886eafcf3d9fcb271f0cf8773ee4e29cb /gtk2_ardour/utils.cc
parent268553ecd471e31d0a1a3976f02389260130e41d (diff)
Fix some compilation warnings
Diffstat (limited to 'gtk2_ardour/utils.cc')
-rw-r--r--gtk2_ardour/utils.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/utils.cc b/gtk2_ardour/utils.cc
index aa68519560..19f93ad2e8 100644
--- a/gtk2_ardour/utils.cc
+++ b/gtk2_ardour/utils.cc
@@ -676,7 +676,7 @@ set_pango_fontsize ()
/* FT2 rendering - used by GnomeCanvas, sigh */
- pango_ft2_font_map_set_resolution ((PangoFT2FontMap*) pango_ft2_font_map_for_display(), val/1024, val/1024);
+ pango_ft2_font_map_set_resolution ((PangoFT2FontMap*) pango_ft2_font_map_new(), val/1024, val/1024);
/* Cairo rendering, in case there is any */