From b011c9e9ca0346413b19456c275246e90cd16e27 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 11 Feb 2021 21:00:15 -0500 Subject: docs: Remove references to gdk_pango_context_get_for_screen Remove references to a function that no longer exists in gtk. --- pango/pango-context.c | 3 +-- pango/pango-fontmap.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/pango/pango-context.c b/pango/pango-context.c index a3d7e6c4..ec1014fa 100644 --- a/pango/pango-context.c +++ b/pango/pango-context.c @@ -154,8 +154,7 @@ pango_context_finalize (GObject *object) * If you are using Pango as part of a higher-level system, * that system may have it's own way of create a #PangoContext. * For instance, the GTK+ toolkit has, among others, - * gdk_pango_context_get_for_screen(), and - * gtk_widget_get_pango_context(). Use those instead. + * gtk_widget_get_pango_context(). Use those instead. * * Return value: the newly allocated #PangoContext, which should * be freed with g_object_unref(). diff --git a/pango/pango-fontmap.c b/pango/pango-fontmap.c index 8f4d7bc7..d4cdefa6 100644 --- a/pango/pango-fontmap.c +++ b/pango/pango-fontmap.c @@ -72,8 +72,7 @@ pango_font_map_init (PangoFontMap *fontmap G_GNUC_UNUSED) * If you are using Pango as part of a higher-level system, * that system may have it's own way of create a #PangoContext. * For instance, the GTK+ toolkit has, among others, - * gdk_pango_context_get_for_screen(), and - * gtk_widget_get_pango_context(). Use those instead. + * gtk_widget_get_pango_context(). Use those instead. * * Return value: (transfer full): the newly allocated #PangoContext, * which should be freed with g_object_unref(). -- cgit v1.2.1