mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 08:00:42 -05:00
cogl: fix incorrect guard around cogl-path.h include
cogl.h was meant to include cogl-path.h so long as COGL_ENABLE_EXPERIMENTAL_2_0_API is not defined but it was actually requiring it to be defined which was breaking clutter applications.
This commit is contained in:
parent
45550cd343
commit
29c2819df4
@ -139,7 +139,7 @@
|
|||||||
* The cogl_path_ api used to be part of the core Cogl api so for
|
* The cogl_path_ api used to be part of the core Cogl api so for
|
||||||
* compatability we include cogl-path.h via cogl.h
|
* compatability we include cogl-path.h via cogl.h
|
||||||
*/
|
*/
|
||||||
#if defined (COGL_ENABLE_EXPERIMENTAL_2_0_API) && \
|
#if !defined (COGL_ENABLE_EXPERIMENTAL_2_0_API) && \
|
||||||
defined (COGL_HAS_COGL_PATH_SUPPORT)
|
defined (COGL_HAS_COGL_PATH_SUPPORT)
|
||||||
#include <cogl-path/cogl-path.h>
|
#include <cogl-path/cogl-path.h>
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user