diff options
author | Emmanuele Bassi <ebassi@linux.intel.com> | 2011-06-16 16:34:01 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@linux.intel.com> | 2011-06-22 12:45:11 +0100 |
commit | d187ade1d8f55da3fb3a8c2354c5905041882f36 (patch) | |
tree | 2c459d42327217326b2f82aca086088699668c44 | |
parent | a597d6543ffbea786d3183d507a939a0fc151816 (diff) | |
download | clutter-d187ade1d8f55da3fb3a8c2354c5905041882f36.tar.gz |
[2.0] Remove ClutterStage deprecated API
-rw-r--r-- | 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 54cb918b4..5971fcd15 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__ */ |