[clutter/clutter-1.99: 8/14] [2.0] Remove ClutterStage deprecated API
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter/clutter-1.99: 8/14] [2.0] Remove ClutterStage deprecated API
- Date: Thu, 14 Jul 2011 15:05:24 +0000 (UTC)
commit c93d05df345eb7eb5fa168cec992be15cd7d36ba
Author: Emmanuele Bassi <ebassi linux intel com>
Date: Thu Jun 16 16:34:01 2011 +0100
[2.0] Remove ClutterStage deprecated API
clutter/clutter-stage.h | 40 ----------------------------------------
1 files changed, 0 insertions(+), 40 deletions(-)
---
diff --git a/clutter/clutter-stage.h b/clutter/clutter-stage.h
index cdd7797..15531c9 100644
--- a/clutter/clutter-stage.h
+++ b/clutter/clutter-stage.h
@@ -46,32 +46,6 @@ G_BEGIN_DECLS
#define CLUTTER_IS_STAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CLUTTER_TYPE_STAGE))
#define CLUTTER_STAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CLUTTER_TYPE_STAGE, ClutterStageClass))
-#ifndef CLUTTER_DISABLE_DEPRECATED
-
-/**
- * CLUTTER_STAGE_WIDTH:
- *
- * Macro that evaluates to the width of the default stage
- *
- * Since: 0.2
- *
- * Deprecated: 1.2: Use clutter_actor_get_width() instead
- */
-#define CLUTTER_STAGE_WIDTH() (clutter_actor_get_width (clutter_stage_get_default ()))
-
-/**
- * CLUTTER_STAGE_HEIGHT:
- *
- * Macro that evaluates to the height of the default stage
- *
- * Since: 0.2
- *
- * Deprecated: 1.2: use clutter_actor_get_height() instead
- */
-#define CLUTTER_STAGE_HEIGHT() (clutter_actor_get_height (clutter_stage_get_default ()))
-
-#endif /* !CLUTTER_DISABLE_DEPRECATED */
-
/**
* ClutterPickMode:
* @CLUTTER_PICK_NONE: Do not paint any actor
@@ -263,7 +237,6 @@ void clutter_stage_set_accept_focus (ClutterStage *stage,
gboolean accept_focus);
gboolean clutter_stage_get_accept_focus (ClutterStage *stage);
-
void clutter_stage_get_redraw_clip_bounds (ClutterStage *stage,
cairo_rectangle_int_t *clip);
@@ -271,19 +244,6 @@ void clutter_stage_set_motion_events_enabled (ClutterStage *sta
gboolean enabled);
gboolean clutter_stage_get_motion_events_enabled (ClutterStage *stage);
-#ifndef CLUTTER_DISABLE_DEPRECATED
-
-/* Commodity macro, for mallum only */
-#define clutter_stage_add(stage,actor) G_STMT_START { \
- if (CLUTTER_IS_STAGE ((stage)) && CLUTTER_IS_ACTOR ((actor))) \
- { \
- ClutterContainer *_container = (ClutterContainer *) (stage); \
- ClutterActor *_actor = (ClutterActor *) (actor); \
- clutter_container_add_actor (_container, _actor); \
- } } G_STMT_END
-
-#endif /* CLUTTER_DISABLE_DEPRECATED */
-
G_END_DECLS
#endif /* __CLUTTER_STAGE_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]