[mutter/gbsneto/clutter-cleanups: 3/10] clutter/main: Remove clutter_clear_glyph_cache
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/gbsneto/clutter-cleanups: 3/10] clutter/main: Remove clutter_clear_glyph_cache
- Date: Mon, 1 Jul 2019 22:08:25 +0000 (UTC)
commit af842a95a7dc72063129c158cc8e07bb32c1abd4
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Sun Jun 30 17:11:36 2019 -0300
clutter/main: Remove clutter_clear_glyph_cache
Deprecated and unused.
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]