The clutter-private.h header already includes cogl-pango.h with
the correct inclusion path, because the main context stores a
pointer to the font map.
There is no need for clutter-text.c to include cogl-pango.h
again since it already includes clutter-private.h.
#include <glib.h>
+#include "pango/cogl-pango.h"
+
#include "clutter-backend.h"
#include "clutter-event.h"
#include "clutter-feature.h"
#include "clutter-stage-manager.h"
#include "clutter-stage-window.h"
#include "clutter-stage.h"
-#include "pango/cogl-pango.h"
G_BEGIN_DECLS
#include "clutter-enum-types.h"
#include "clutter-keysyms.h"
#include "clutter-main.h"
-#include "clutter-private.h"
+#include "clutter-private.h" /* includes pango/cogl-pango.h */
#include "clutter-units.h"
-#include "cogl-pango.h"
-
#define DEFAULT_FONT_NAME "Sans 10"
/* cursor width in pixels */