diff options
author | Matthias Clasen <mclasen@redhat.com> | 2011-11-01 21:22:14 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-11-01 21:22:14 -0400 |
commit | 8669eb49f5cb76413163fa2c5197cc567e93c51f (patch) | |
tree | 5a3da0ad95af7f866bac496f1c1a20bdb9830dd9 /gtk/gtkprintcontext.c | |
parent | 4460cac3edb7a774c83aa2bde74361c0a96e52a4 (diff) | |
download | gtk+-8669eb49f5cb76413163fa2c5197cc567e93c51f.tar.gz |
Don't use deprecated Pango api
Diffstat (limited to 'gtk/gtkprintcontext.c')
-rw-r--r-- | gtk/gtkprintcontext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkprintcontext.c b/gtk/gtkprintcontext.c index 223a8f4d46..9cb790e1a1 100644 --- a/gtk/gtkprintcontext.c +++ b/gtk/gtkprintcontext.c @@ -547,7 +547,7 @@ gtk_print_context_create_pango_context (GtkPrintContext *context) g_return_val_if_fail (GTK_IS_PRINT_CONTEXT (context), NULL); - pango_context = pango_cairo_font_map_create_context (PANGO_CAIRO_FONT_MAP (_gtk_print_context_get_fontmap (context))); + pango_context = pango_font_map_create_context (_gtk_print_context_get_fontmap (context)); options = cairo_font_options_create (); cairo_font_options_set_hint_metrics (options, CAIRO_HINT_METRICS_OFF); |