[cluttermm] main.h : Removed deprecated methods.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cluttermm] main.h : Removed deprecated methods.
- Date: Tue, 22 Apr 2014 10:38:40 +0000 (UTC)
commit 4566aab398627867b6f6e58e014788e2b13e2206
Author: Ian Martin <martin_id vodafone co nz>
Date: Thu Apr 17 11:35:48 2014 +1200
main.h : Removed deprecated methods.
clutter/cluttermm/main.cc | 10 ----------
clutter/cluttermm/main.h | 14 ++------------
2 files changed, 2 insertions(+), 22 deletions(-)
---
diff --git a/clutter/cluttermm/main.cc b/clutter/cluttermm/main.cc
index 9e1c8f8..4f99e05 100644
--- a/clutter/cluttermm/main.cc
+++ b/clutter/cluttermm/main.cc
@@ -85,16 +85,6 @@ void clear_glyph_cache()
{
clutter_clear_glyph_cache();
}
-
-void set_font_flags(FontFlags flags)
-{
- clutter_set_font_flags((ClutterFontFlags)flags);
-}
-
-FontFlags get_font_flags()
-{
- return (FontFlags)clutter_get_font_flags();
-}
#endif //CLUTTERMM_DISABLE_DEPRECATED
diff --git a/clutter/cluttermm/main.h b/clutter/cluttermm/main.h
index 5a92dea..7dc3797 100644
--- a/clutter/cluttermm/main.h
+++ b/clutter/cluttermm/main.h
@@ -88,6 +88,7 @@ void set_default_frame_rate(guint frames_per_sec);
guint get_default_frame_rate();
#ifndef CLUTTERMM_DISABLE_DEPRECATED
+
/** Sets whether per-actor motion events should be enabled or not
* (the default is to enable them).
*
@@ -118,19 +119,9 @@ bool get_motion_events_enabled();
*
* @deprecated Use get_font_map() and cogl_pango_font_map_clear_glyph_cache() instead.
*/
-void clear_glyph_cache();
-//TODO: Documentation:
-
-/**
- * @deprecated Use Backend::set_font_options() and the cairo_font_option_t API.
- */
-void set_font_flags(FontFlags flags);
-/**
- * @deprecated Use Backend::get_font_options() and the cairo_font_option_t API.
- */
-FontFlags get_font_flags();
+void clear_glyph_cache();
#endif //CLUTTERMM_DISABLE_DEPRECATED
Glib::RefPtr<Pango::FontMap> get_font_map();
@@ -207,4 +198,3 @@ void do_event(Event* event);
} //namespace Clutter
#endif //_LIBCLUTTERMM_MAIN_H
-
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]