]> git.sur5r.net Git - glabels/blobdiff - src/label-text.c
Fixed low hanging deprecations and warnings.
[glabels] / src / label-text.c
index d51e30008f6eb1f3b7e19261b4b1ac4d2cf95465..3f0305f91532a58cfb44ff9db8f609ce5419fdf0 100644 (file)
@@ -531,7 +531,7 @@ get_size (glLabelObject *object,
 
        
        fontmap = pango_cairo_font_map_new ();
-       context = pango_cairo_font_map_create_context (PANGO_CAIRO_FONT_MAP (fontmap));
+       context = pango_font_map_create_context (PANGO_FONT_MAP (fontmap));
        options = cairo_font_options_create ();
         cairo_font_options_set_hint_style (options, CAIRO_HINT_STYLE_NONE);
         cairo_font_options_set_hint_metrics (options, CAIRO_HINT_METRICS_OFF);