From 6b853ffdbdab1e1adffa2b22a5a07211933d9042 Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Sun, 30 Jun 2019 17:11:36 -0300 Subject: [PATCH] clutter/main: Remove clutter_clear_glyph_cache Deprecated and unused. https://gitlab.gnome.org/GNOME/mutter/merge_requests/666 --- clutter/clutter/clutter-main.c | 22 ---------------------- clutter/clutter/deprecated/clutter-main.h | 3 --- 2 files changed, 25 deletions(-) diff --git a/clutter/clutter/clutter-main.c b/clutter/clutter/clutter-main.c index 6ec367930..318a3aa32 100644 --- a/clutter/clutter/clutter-main.c +++ b/clutter/clutter/clutter-main.c @@ -3017,28 +3017,6 @@ clutter_get_keyboard_grab (void) return context->keyboard_grab_actor; } -/** - * clutter_clear_glyph_cache: - * - * Clears the internal cache of glyphs used by the Pango - * renderer. This will free up some memory and GL texture - * resources. The cache will be automatically refilled as more text is - * drawn. - * - * Since: 0.8 - * - * Deprecated: 1.10: Use clutter_get_font_map() and - * cogl_pango_font_map_clear_glyph_cache() instead. - */ -void -clutter_clear_glyph_cache (void) -{ - CoglPangoFontMap *font_map; - - font_map = clutter_context_get_pango_fontmap (); - cogl_pango_font_map_clear_glyph_cache (font_map); -} - /** * clutter_set_font_flags: * @flags: The new flags diff --git a/clutter/clutter/deprecated/clutter-main.h b/clutter/clutter/deprecated/clutter-main.h index 2e1e63cef..5d2f5d350 100644 --- a/clutter/clutter/deprecated/clutter-main.h +++ b/clutter/clutter/deprecated/clutter-main.h @@ -43,9 +43,6 @@ void clutter_threads_leave (void); CLUTTER_DEPRECATED_FOR(clutter_stage_ensure_redraw) void clutter_redraw (ClutterStage *stage); -CLUTTER_DEPRECATED_FOR(cogl_pango_font_map_clear_glyph_cache) -void clutter_clear_glyph_cache (void); - CLUTTER_DEPRECATED_FOR(clutter_backend_set_font_options) void clutter_set_font_flags (ClutterFontFlags flags);