From 29c2819df44cbda6186474d4cdc3aba1671580bf Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Tue, 20 Aug 2013 11:45:55 +0100 Subject: [PATCH] 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. --- cogl/cogl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogl/cogl.h b/cogl/cogl.h index 28ea0caf8..a6b074798 100644 --- a/cogl/cogl.h +++ b/cogl/cogl.h @@ -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 #endif