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:
Robert Bragg 2013-08-20 11:45:55 +01:00
parent 45550cd343
commit 29c2819df4

View File

@ -139,7 +139,7 @@
* The cogl_path_ api used to be part of the core Cogl api so for
* 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)
#include <cogl-path/cogl-path.h>
#endif