gdk: Do not use deprecated macros

Use the replacement functions instead.
This commit is contained in:
Emmanuele Bassi 2015-07-11 10:12:00 +01:00
parent eefbb88675
commit 4040f2d556

View File

@ -388,7 +388,7 @@ clutter_master_clock_gdk_stage_realized (ClutterStage *stage,
GParamSpec *spec, GParamSpec *spec,
ClutterMasterClockGdk *master_clock) ClutterMasterClockGdk *master_clock)
{ {
if (CLUTTER_ACTOR_IS_REALIZED (stage)) if (clutter_actor_is_realized (CLUTTER_ACTOR (stage)))
clutter_master_clock_gdk_listen_to_stage (master_clock, stage); clutter_master_clock_gdk_listen_to_stage (master_clock, stage);
else else
clutter_master_clock_gdk_remove_stage_clock (master_clock, stage); clutter_master_clock_gdk_remove_stage_clock (master_clock, stage);