[pango/pango2: 9/168] Drop deprecated pangocairo api
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/pango2: 9/168] Drop deprecated pangocairo api
- Date: Wed, 8 Jun 2022 10:22:14 +0000 (UTC)
commit d65cca5002a84a701cc02268d9b3036084687ed3
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Jan 10 12:28:44 2022 -0500
Drop deprecated pangocairo api
pango/pangocairo-fontmap.c | 20 --------------------
pango/pangocairo.h | 4 ----
2 files changed, 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
@@ -264,26 +264,6 @@ pango_cairo_font_map_get_resolution (PangoCairoFontMap *fontmap)
return (* PANGO_CAIRO_FONT_MAP_GET_IFACE (fontmap)->get_resolution) (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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]