summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-02-11 21:00:15 -0500
committerMatthias Clasen <mclasen@redhat.com>2021-02-11 21:00:15 -0500
commitb011c9e9ca0346413b19456c275246e90cd16e27 (patch)
treeab9eaaec7660d4e181229d5bcefb04e166ea3014
parent79abc9635ea76129006cc892935d6a8671735080 (diff)
downloadpango-docs-tweak.tar.gz
docs: Remove references to gdk_pango_context_get_for_screendocs-tweak
Remove references to a function that no longer exists in gtk.
-rw-r--r--pango/pango-context.c3
-rw-r--r--pango/pango-fontmap.c3
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().