diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-01-10 12:28:44 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-02-17 14:01:09 -0600 |
commit | 53ef84c3661b3464e5c02f77f35504bf09cf7014 (patch) | |
tree | 0cdffff2871479c4749e76d52f7e6c47ab9c0732 | |
parent | e5642d5d52f00184390acba0b0089b8c9fbc7783 (diff) | |
download | pango-53ef84c3661b3464e5c02f77f35504bf09cf7014.tar.gz |
Drop deprecated pangocairo api
-rw-r--r-- | pango/pangocairo-fontmap.c | 20 | ||||
-rw-r--r-- | pango/pangocairo.h | 4 |
2 files changed, 0 insertions, 24 deletions
diff --git a/pango/pangocairo-fontmap.c b/pango/pangocairo-fontmap.c index 70bc66dc..847dbfc2 100644 --- a/pango/pangocairo-fontmap.c +++ b/pango/pangocairo-fontmap.c @@ -265,26 +265,6 @@ pango_cairo_font_map_get_resolution (PangoCairoFontMap *fontmap) } /** - * pango_cairo_font_map_create_context: (skip) - * @fontmap: a `PangoCairoFontMap` - * - * Create a `PangoContext` for the given fontmap. - * - * Return value: the newly created context; free with g_object_unref(). - * - * Since: 1.10 - * - * Deprecated: 1.22: Use pango_font_map_create_context() instead. - */ -PangoContext * -pango_cairo_font_map_create_context (PangoCairoFontMap *fontmap) -{ - g_return_val_if_fail (PANGO_IS_CAIRO_FONT_MAP (fontmap), NULL); - - return pango_font_map_create_context (PANGO_FONT_MAP (fontmap)); -} - -/** * pango_cairo_font_map_get_font_type: * @fontmap: a `PangoCairoFontMap` * diff --git a/pango/pangocairo.h b/pango/pangocairo.h index 7e860554..070d1adb 100644 --- a/pango/pangocairo.h +++ b/pango/pangocairo.h @@ -118,10 +118,6 @@ void pango_cairo_font_map_set_resolution (PangoCairoFontMap *fontmap, double dpi); PANGO_AVAILABLE_IN_1_10 double pango_cairo_font_map_get_resolution (PangoCairoFontMap *fontmap); -#ifndef PANGO_DISABLE_DEPRECATED -PANGO_DEPRECATED_IN_1_22_FOR(pango_font_map_create_context) -PangoContext *pango_cairo_font_map_create_context (PangoCairoFontMap *fontmap); -#endif /* * PangoCairoFont |