backend: Do not use deprecated macros
Use the replacement functions instead.
This commit is contained in:
parent
02b44fcc60
commit
eefbb88675
1 changed files with 3 additions and 2 deletions
|
@ -818,11 +818,12 @@ _clutter_backend_ensure_context (ClutterBackend *backend,
|
|||
g_assert (CLUTTER_IS_BACKEND (backend));
|
||||
g_assert (CLUTTER_IS_STAGE (stage));
|
||||
|
||||
if (current_context_stage != stage || !CLUTTER_ACTOR_IS_REALIZED (stage))
|
||||
if (current_context_stage != stage ||
|
||||
!clutter_actor_is_realized (CLUTTER_ACTOR (stage)))
|
||||
{
|
||||
ClutterStage *new_stage = NULL;
|
||||
|
||||
if (!CLUTTER_ACTOR_IS_REALIZED (stage))
|
||||
if (!clutter_actor_is_realized (CLUTTER_ACTOR (stage)))
|
||||
{
|
||||
new_stage = NULL;
|
||||
|
||||
|
|
Loading…
Reference in a new issue