cleanup, removed unused includes.

2008-10-27  Sven Neumann  <sven@gimp.org>

	* app/text/gimptext-bitmap.c: cleanup, removed unused includes.


svn path=/trunk/; revision=27433
This commit is contained in:
Sven Neumann 2008-10-27 08:11:41 +00:00 committed by Sven Neumann
parent 033fcf1628
commit edec220dac
2 changed files with 6 additions and 13 deletions

View file

@ -1,3 +1,7 @@
2008-10-27 Sven Neumann <sven@gimp.org>
* app/text/gimptext-bitmap.c: cleanup, removed unused includes.
2008-10-27 Sven Neumann <sven@gimp.org>
* libgimpbase/gimpbaseenums.[ch]: added new enum GimpTextHintStyle.

View file

@ -23,8 +23,6 @@
#include <glib-object.h>
#define PANGO_ENABLE_ENGINE
#include <cairo.h>
#include <pango/pangocairo.h>
#include "text-types.h"
@ -32,12 +30,6 @@
#include "gimptext-bitmap.h"
/* for compatibility with older freetype versions */
#ifndef FT_LOAD_TARGET_MONO
#define FT_LOAD_TARGET_MONO FT_LOAD_MONOCHROME
#endif
void
gimp_text_render_bitmap (PangoFont *font,
PangoGlyph glyph,
@ -53,11 +45,8 @@ gimp_text_render_bitmap (PangoFont *font,
cfont = pango_cairo_font_get_scaled_font ((PangoCairoFont *) font);
x = PANGO_PIXELS (x);
y = PANGO_PIXELS (y);
cglyph.x = x;
cglyph.y = y;
cglyph.x = PANGO_PIXELS (x);
cglyph.y = PANGO_PIXELS (y);
cglyph.index = glyph;
cairo_set_scaled_font (cr, cfont);