[cogl] cogl-path: fix compile outside of source tree



commit d3de0ee7a9b26e0f2a41b6759009b69e7da68dfe
Author: Andreas Oberritter <obi saftware de>
Date:   Tue Jul 2 00:34:30 2013 +0200

    cogl-path: fix compile outside of source tree
    
    cogl-path.h doesn't get included from cogl.h anymore. It also can't
    include cogl-*.h headers directly and must include the whole cogl.h
    instead.
    
    Signed-off-by: Andreas Oberritter <obi saftware de>
    
    Reviewed-by: Neil Roberts <neil linux intel com>

 cogl-path/cogl-path.h |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/cogl-path/cogl-path.h b/cogl-path/cogl-path.h
index bba53e3..594a62b 100644
--- a/cogl-path/cogl-path.h
+++ b/cogl-path/cogl-path.h
@@ -21,15 +21,10 @@
  *
  */
 
-#if !defined(__COGL_H_INSIDE__) && !defined(COGL_COMPILATION)
-#error "Only <cogl/cogl.h> can be included directly."
-#endif
-
 #ifndef __COGL_PATH_H__
 #define __COGL_PATH_H__
 
-#include <cogl/cogl-types.h>
-#include <cogl/cogl-context.h>
+#include <cogl/cogl.h>
 
 COGL_BEGIN_DECLS
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]