From edbd13f36f6654b147a165325ab1a904bff7b951 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 26 Apr 2024 23:35:10 -0400 Subject: [PATCH] gsk: Drop an unused private function gsk_font_get_hint_style is no longer used. --- gsk/gskprivate.c | 14 -------------- gsk/gskprivate.h | 1 - 2 files changed, 15 deletions(-) diff --git a/gsk/gskprivate.c b/gsk/gskprivate.c index e9227f48a8..0a09547c31 100644 --- a/gsk/gskprivate.c +++ b/gsk/gskprivate.c @@ -144,20 +144,6 @@ gsk_font_get_size (PangoFont *font) return size / PANGO_SCALE; } -/*< private > - * gsk_font_get_hint_style: - * @font: a `PangoFont` - * - * Get the hint style from the cairo font options. - * - * Returns: the hint style - */ -cairo_hint_style_t -gsk_font_get_hint_style (PangoFont *font) -{ - return cairo_font_options_get_hint_style (pango_font_get_cairo_font_options (font)); -} - /*< private > * gsk_font_get_rendering: * @font: a `PangoFont` diff --git a/gsk/gskprivate.h b/gsk/gskprivate.h index 5c7b3b1042..3180e709eb 100644 --- a/gsk/gskprivate.h +++ b/gsk/gskprivate.h @@ -14,7 +14,6 @@ PangoFont *gsk_reload_font (PangoFont *font, cairo_hint_style_t hint_style, cairo_antialias_t antialias); -cairo_hint_style_t gsk_font_get_hint_style (PangoFont *font); void gsk_font_get_rendering (PangoFont *font, float scale, cairo_hint_metrics_t *hint_metrics,