From f9bf187e5d0268886a96a40911debd21b666e5e0 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Thu, 11 Dec 2008 11:15:11 +0000 Subject: [PATCH] Use internal headers Since ClutterText is part of Clutter, it can use the internal and private headers instead of the catch-all clutter.h. --- clutter/clutter-text.c | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/clutter/clutter-text.c b/clutter/clutter-text.c index 6733fe1bd..da0612934 100644 --- a/clutter/clutter-text.c +++ b/clutter/clutter-text.c @@ -33,7 +33,22 @@ #include #include "clutter-text.h" -#include + +#include "clutter-main.h" +#include "clutter-enum-types.h" +#include "clutter-private.h" +#include "clutter-debug.h" +#include "clutter-units.h" + +#include "cogl-pango.h" + +#define DEFAULT_FONT_NAME "Sans 10" + +/* Probably move into main */ +static PangoContext *_context = NULL; + +static const ClutterColor default_cursor_color = { 0, 0, 0, 255 }; +static const ClutterColor default_text_color = { 0, 0, 0, 255 }; static gboolean clutter_text_key_press (ClutterActor *actor, ClutterKeyEvent *kev);