[pango/docs-tweak] docs: Remove references to gdk_pango_context_get_for_screen
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/docs-tweak] docs: Remove references to gdk_pango_context_get_for_screen
- Date: Fri, 12 Feb 2021 02:01:29 +0000 (UTC)
commit b011c9e9ca0346413b19456c275246e90cd16e27
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Feb 11 21:00:15 2021 -0500
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().
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]