[clutter/clutter-1.99: 8/11] [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/11] [2.0] Remove ClutterStage deprecated API
- Date: Wed, 22 Jun 2011 11:46:12 +0000 (UTC)
commit d187ade1d8f55da3fb3a8c2354c5905041882f36
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 | 36 ------------------------------------
1 files changed, 0 insertions(+), 36 deletions(-)
---
diff --git a/clutter/clutter-stage.h b/clutter/clutter-stage.h
index 54cb918..5971fcd 100644
--- a/clutter/clutter-stage.h
+++ b/clutter/clutter-stage.h
@@ -45,32 +45,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
@@ -262,20 +236,10 @@ void clutter_stage_set_accept_focus (ClutterStage *stage,
gboolean accept_focus);
gboolean clutter_stage_get_accept_focus (ClutterStage *stage);
-
void clutter_stage_set_motion_events_enabled (ClutterStage *stage,
gboolean enabled);
gboolean clutter_stage_get_motion_events_enabled (ClutterStage *stage);
-/* 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
-
G_END_DECLS
#endif /* __CLUTTER_STAGE_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]