[gtk+/gtk-2-24] Don't use deprecated Pango api
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-24] Don't use deprecated Pango api
- Date: Tue, 8 Nov 2011 17:45:43 +0000 (UTC)
commit 7e1e5451d44c933669a75f74f48ab074e7cc6f85
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Nov 1 21:22:14 2011 -0400
Don't use deprecated Pango api
gtk/gtkprintcontext.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkprintcontext.c b/gtk/gtkprintcontext.c
index 4f317cc..1f105f1 100644
--- a/gtk/gtkprintcontext.c
+++ b/gtk/gtkprintcontext.c
@@ -475,7 +475,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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]