[clutter] Deprecate clutter_clear_glyph_cache()
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter] Deprecate clutter_clear_glyph_cache()
- Date: Tue, 11 Oct 2011 16:56:01 +0000 (UTC)
commit 6ef09dd15bbe7e4305c683231d6431771bd3cffc
Author: Emmanuele Bassi <ebassi linux intel com>
Date: Mon Oct 10 17:00:28 2011 +0100
Deprecate clutter_clear_glyph_cache()
This is a wrapper function for API that has long since been public.
clutter/clutter-main.c | 3 +++
clutter/clutter-main.h | 3 +++
2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/clutter/clutter-main.c b/clutter/clutter-main.c
index f2c5403..bea2e92 100644
--- a/clutter/clutter-main.c
+++ b/clutter/clutter-main.c
@@ -2819,6 +2819,9 @@ clutter_get_keyboard_grab (void)
* 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)
diff --git a/clutter/clutter-main.h b/clutter/clutter-main.h
index 5f0bce1..ab85e13 100644
--- a/clutter/clutter-main.h
+++ b/clutter/clutter-main.h
@@ -165,7 +165,10 @@ void clutter_grab_keyboard (ClutterActor *actor);
void clutter_ungrab_keyboard (void);
ClutterActor * clutter_get_keyboard_grab (void);
+#if !defined(CLUTTER_DISABLE_DEPRECATED) || defined(CLUTTER_COMPILATION)
void clutter_clear_glyph_cache (void);
+#endif
+
void clutter_set_font_flags (ClutterFontFlags flags);
ClutterFontFlags clutter_get_font_flags (void);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]