[Cogl] [1.18][Patch]: Fix build of cogl-pango-pipeline-cache.c

Fan Chun-wei fanc999 at yahoo.com.tw
Thu Feb 27 03:33:56 PST 2014


Hi,

This includes a header that was left out due to the 
cogl_texture_get_format API becoming private, so that C4013/implicit 
declaration of ... warnings/errors can be avoided.

With blessings, thanks for the reviews!
-------------- next part --------------
From 811f01f07577c4de5d2139b66d4561dbb5ad645c Mon Sep 17 00:00:00 2001
From: Chun-wei Fan <fanchunwei at src.gnome.org>
Date: Thu, 27 Feb 2014 19:18:27 +0800
Subject: [PATCH 5/5] cogl-pango-pipeline-cache.c: Include forgotten header

The private header is needed as the cogl_texture_get_format API was made
private, so that C4013 (implicit declaration of ...) warnings/errors can
be avoided
---
 cogl-pango/cogl-pango-pipeline-cache.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cogl-pango/cogl-pango-pipeline-cache.c b/cogl-pango/cogl-pango-pipeline-cache.c
index ed2a5ce..625a8fa 100644
--- a/cogl-pango/cogl-pango-pipeline-cache.c
+++ b/cogl-pango/cogl-pango-pipeline-cache.c
@@ -39,6 +39,7 @@
 #include "cogl-pango-pipeline-cache.h"
 
 #include "cogl/cogl-context-private.h"
+#include "cogl/cogl-texture-private.h"
 
 typedef struct _CoglPangoPipelineCacheEntry CoglPangoPipelineCacheEntry;
 
-- 
1.8.3.msysgit.0


More information about the Cogl mailing list