diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-02-12 02:15:33 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-02-12 02:15:33 +0000 |
commit | dde52e89892f05f372e7c9717e03753ca476dcb0 (patch) | |
tree | ab9eaaec7660d4e181229d5bcefb04e166ea3014 | |
parent | 79abc9635ea76129006cc892935d6a8671735080 (diff) | |
parent | b011c9e9ca0346413b19456c275246e90cd16e27 (diff) | |
download | pango-dde52e89892f05f372e7c9717e03753ca476dcb0.tar.gz |
Merge branch 'docs-tweak' into 'master'
docs: Remove references to gdk_pango_context_get_for_screen
See merge request GNOME/pango!283
-rw-r--r-- | pango/pango-context.c | 3 | ||||
-rw-r--r-- | 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(). |