summaryrefslogtreecommitdiff
path: root/pango/pangowin32-fontmap.c
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2005-07-22 08:21:17 +0000
committerTor Lillqvist <tml@src.gnome.org>2005-07-22 08:21:17 +0000
commita7507ca9d7d0679083242cec0c75a973df8ea181 (patch)
treec3d70aefe997e199665a1336cc56ee3fb1ddf7a0 /pango/pangowin32-fontmap.c
parent7a9b8fb2374b6459a52f10e1a1ef732b8cff1c27 (diff)
downloadpango-a7507ca9d7d0679083242cec0c75a973df8ea181.tar.gz
No need to include modules.h here any longer. (pango_win32_get_context):
2005-07-22 Tor Lillqvist <tml@novell.com> * pango/pangowin32.c: No need to include modules.h here any longer. (pango_win32_get_context): Remove unused variable. (pango_win32_render_layout_line): Fix underlining. (#304692) Mention in the doc comment that the DC's text alignment needs to have TA_BASELINE and TA_LEFT for underlining to be correct. * pango/pangowin32-fontmap.c: Include modules.h here instead. (pango_win32_font_map_class_init): Define variable i.
Diffstat (limited to 'pango/pangowin32-fontmap.c')
-rw-r--r--pango/pangowin32-fontmap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pango/pangowin32-fontmap.c b/pango/pangowin32-fontmap.c
index d29ee20d..37cb279c 100644
--- a/pango/pangowin32-fontmap.c
+++ b/pango/pangowin32-fontmap.c
@@ -32,6 +32,7 @@
#include "pango-fontmap.h"
#include "pango-utils.h"
#include "pangowin32-private.h"
+#include "modules.h"
typedef struct _PangoWin32Family PangoWin32Family;
typedef struct _PangoWin32SizeInfo PangoWin32SizeInfo;
@@ -184,6 +185,7 @@ pango_win32_font_map_class_init (PangoWin32FontMapClass *class)
{
GObjectClass *object_class = G_OBJECT_CLASS (class);
PangoFontMapClass *fontmap_class = PANGO_FONT_MAP_CLASS (class);
+ int i;
class->find_font = pango_win32_font_map_real_find_font;
object_class->finalize = pango_win32_font_map_finalize;