cogl-pipeline/cogl-pango: Added forgotten includes

It seems that cogl-context-private.h needs to be included before including
any of the pipeline-related stuff to avoid build errors on C89 compilers.

This is due to the recent cogl-pipeline decoupling, seems like.

Reviewed-by: Robert Bragg <robert@linux.intel.com>
This commit is contained in:
Chun-wei Fan 2011-09-23 16:43:05 +08:00 committed by Robert Bragg
parent e5e299e866
commit 98a9428967
10 changed files with 12 additions and 1 deletions

View File

@ -35,6 +35,7 @@
#include <cairo.h> #include <cairo.h>
#include "cogl/cogl-debug.h" #include "cogl/cogl-debug.h"
#include "cogl/cogl-context-private.h"
#include "cogl/cogl-texture-private.h" #include "cogl/cogl-texture-private.h"
#include "cogl-pango-private.h" #include "cogl-pango-private.h"
#include "cogl-pango-glyph-cache.h" #include "cogl-pango-glyph-cache.h"

View File

@ -29,9 +29,9 @@
#include "config.h" #include "config.h"
#endif #endif
#include "cogl-context-private.h"
#include "cogl-pipeline-private.h" #include "cogl-pipeline-private.h"
#include "cogl-pipeline-cache.h" #include "cogl-pipeline-cache.h"
#include "cogl-context-private.h"
struct _CoglPipelineCache struct _CoglPipelineCache
{ {

View File

@ -30,6 +30,7 @@
#endif #endif
#include "cogl-debug.h" #include "cogl-debug.h"
#include "cogl-context-private.h"
#include "cogl-pipeline-private.h" #include "cogl-pipeline-private.h"
#include "cogl-pipeline-layer-private.h" #include "cogl-pipeline-layer-private.h"

View File

@ -29,6 +29,7 @@
#include "config.h" #include "config.h"
#endif #endif
#include "cogl-context-private.h"
#include "cogl-pipeline-private.h" #include "cogl-pipeline-private.h"
#include "cogl-pipeline-opengl-private.h" #include "cogl-pipeline-opengl-private.h"

View File

@ -32,6 +32,7 @@
#include <string.h> #include <string.h>
#include "cogl-context-private.h"
#include "cogl-pipeline-private.h" #include "cogl-pipeline-private.h"
#include "cogl-pipeline-layer-private.h" #include "cogl-pipeline-layer-private.h"
#include "cogl-shader-private.h" #include "cogl-shader-private.h"

View File

@ -29,6 +29,7 @@
#include "config.h" #include "config.h"
#endif #endif
#include "cogl-context-private.h"
#include "cogl-pipeline-private.h" #include "cogl-pipeline-private.h"
#include "cogl-blend-string.h" #include "cogl-blend-string.h"
#include "cogl-util.h" #include "cogl-util.h"

View File

@ -29,6 +29,9 @@
#include "config.h" #include "config.h"
#endif #endif
#include "cogl-context-private.h"
#include "cogl-texture-private.h"
#include "cogl-pipeline.h" #include "cogl-pipeline.h"
#include "cogl-pipeline-layer-private.h" #include "cogl-pipeline-layer-private.h"
#include "cogl-pipeline-layer-state-private.h" #include "cogl-pipeline-layer-state-private.h"

View File

@ -29,6 +29,7 @@
#include "config.h" #include "config.h"
#endif #endif
#include "cogl-context-private.h"
#include "cogl-pipeline-private.h" #include "cogl-pipeline-private.h"
#include "cogl-pipeline-opengl-private.h" #include "cogl-pipeline-opengl-private.h"

View File

@ -29,6 +29,7 @@
#include "config.h" #include "config.h"
#endif #endif
#include "cogl-context-private.h"
#include "cogl-pipeline-private.h" #include "cogl-pipeline-private.h"
#include "cogl-pipeline-opengl-private.h" #include "cogl-pipeline-opengl-private.h"

View File

@ -29,6 +29,7 @@
#include "config.h" #include "config.h"
#endif #endif
#include "cogl-context-private.h"
#include "cogl-pipeline-private.h" #include "cogl-pipeline-private.h"
#include "cogl-pipeline-opengl-private.h" #include "cogl-pipeline-opengl-private.h"