mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
clutter: Fix a couple of guard macros
Use #ifdef instead of #if in a couple of places.
This commit is contained in:
parent
0d9391e282
commit
e3c6e3b84d
@ -9024,7 +9024,7 @@ _clutter_actor_queue_only_relayout (ClutterActor *self)
|
||||
priv->needs_allocation)
|
||||
return; /* save some cpu cycles */
|
||||
|
||||
#if CLUTTER_ENABLE_DEBUG
|
||||
#ifdef CLUTTER_ENABLE_DEBUG
|
||||
if (!CLUTTER_ACTOR_IS_TOPLEVEL (self) && CLUTTER_ACTOR_IN_RELAYOUT (self))
|
||||
{
|
||||
g_warning ("The actor '%s' is currently inside an allocation "
|
||||
|
@ -327,7 +327,7 @@ clutter_egl_get_egl_display (void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#if COGL_HAS_EGL_SUPPORT
|
||||
#ifdef COGL_HAS_EGL_SUPPORT
|
||||
return cogl_egl_context_get_egl_display (backend->cogl_context);
|
||||
#else
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user