Do not include cogl-pango.h multiple times

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.
This commit is contained in:
Emmanuele Bassi 2008-12-22 13:24:52 +00:00
parent 6b782ce4e7
commit 4a934c363c
2 changed files with 3 additions and 4 deletions

View File

@ -38,6 +38,8 @@
#include <glib.h>
#include "pango/cogl-pango.h"
#include "clutter-backend.h"
#include "clutter-event.h"
#include "clutter-feature.h"
@ -45,7 +47,6 @@
#include "clutter-stage-manager.h"
#include "clutter-stage-window.h"
#include "clutter-stage.h"
#include "pango/cogl-pango.h"
G_BEGIN_DECLS

View File

@ -54,11 +54,9 @@
#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 */