[clutter: 16/17] stage: Deprecate clutter_stage_queue_redraw()
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter: 16/17] stage: Deprecate clutter_stage_queue_redraw()
- Date: Mon, 14 Nov 2011 11:54:47 +0000 (UTC)
commit b2d1dfa932d20d17c236f2646879a38876302190
Author: Emmanuele Bassi <ebassi linux intel com>
Date: Mon Nov 14 11:45:14 2011 +0000
stage: Deprecate clutter_stage_queue_redraw()
It's a wrapper around clutter_actor_queue_redraw().
clutter/clutter-stage.c | 5 ++---
clutter/clutter-stage.h | 1 -
clutter/deprecated/clutter-stage.h | 3 +++
3 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/clutter/clutter-stage.c b/clutter/clutter-stage.c
index 60370f1..ea9f8a0 100644
--- a/clutter/clutter-stage.c
+++ b/clutter/clutter-stage.c
@@ -3493,10 +3493,9 @@ clutter_stage_ensure_redraw (ClutterStage *stage)
* <note>Applications should call clutter_actor_queue_redraw() and not
* this function.</note>
*
- * <note>This function is just a wrapper for clutter_actor_queue_redraw()
- * and should probably go away.</note>
- *
* Since: 0.8
+ *
+ * Deprecated: 1.10: Use clutter_actor_queue_redraw() instead.
*/
void
clutter_stage_queue_redraw (ClutterStage *stage)
diff --git a/clutter/clutter-stage.h b/clutter/clutter-stage.h
index 6ca0f71..20a87d3 100644
--- a/clutter/clutter-stage.h
+++ b/clutter/clutter-stage.h
@@ -192,7 +192,6 @@ void clutter_stage_set_key_focus (ClutterStage *stage,
ClutterActor *actor);
ClutterActor * clutter_stage_get_key_focus (ClutterStage *stage);
void clutter_stage_ensure_current (ClutterStage *stage);
-void clutter_stage_queue_redraw (ClutterStage *stage);
void clutter_stage_ensure_viewport (ClutterStage *stage);
void clutter_stage_ensure_redraw (ClutterStage *stage);
diff --git a/clutter/deprecated/clutter-stage.h b/clutter/deprecated/clutter-stage.h
index 8d1951a..3cc6db1 100644
--- a/clutter/deprecated/clutter-stage.h
+++ b/clutter/deprecated/clutter-stage.h
@@ -46,6 +46,9 @@ ClutterActor * clutter_stage_get_default (void);
CLUTTER_DEPRECATED
gboolean clutter_stage_is_default (ClutterStage *stage);
+CLUTTER_DEPRECATED_FOR(clutter_actor_queue_redraw)
+void clutter_stage_queue_redraw (ClutterStage *stage);
+
G_END_DECLS
#endif /* __CLUTTER_STAGE_DEPRECATED_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]