[cogl/cogl-1.16] cogl: fix incorrect guard around cogl-path.h include
- From: Robert Bragg <rbragg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/cogl-1.16] cogl: fix incorrect guard around cogl-path.h include
- Date: Tue, 20 Aug 2013 10:49:41 +0000 (UTC)
commit 29c2819df44cbda6186474d4cdc3aba1671580bf
Author: Robert Bragg <robert linux intel com>
Date: Tue Aug 20 11:45:55 2013 +0100
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/cogl/cogl.h b/cogl/cogl.h
index 28ea0ca..a6b0747 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 <cogl-path/cogl-path.h>
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]