Make the last change compile.

2005-08-10  J. Ali Harlow  <ali@juiblex.co.uk>

        * gdk/win32/gdkfont-win32.c (gdk_font_from_description_for_display): Make
	the last change compile.
This commit is contained in:
J. Ali Harlow 2005-08-10 11:02:29 +00:00 committed by J. Ali Harlow
parent b7bd68546c
commit 3502a2a259
4 changed files with 18 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2005-08-10 J. Ali Harlow <ali@juiblex.co.uk>
* gdk/win32/gdkfont-win32.c (gdk_font_from_description_for_display): Make
the last change compile.
2005-08-10 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_deleted)

View File

@ -1,3 +1,8 @@
2005-08-10 J. Ali Harlow <ali@juiblex.co.uk>
* gdk/win32/gdkfont-win32.c (gdk_font_from_description_for_display): Make
the last change compile.
2005-08-10 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_deleted)

View File

@ -1,3 +1,8 @@
2005-08-10 J. Ali Harlow <ali@juiblex.co.uk>
* gdk/win32/gdkfont-win32.c (gdk_font_from_description_for_display): Make
the last change compile.
2005-08-10 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_deleted)

View File

@ -1237,7 +1237,6 @@ GdkFont*
gdk_font_from_description_for_display (GdkDisplay *display,
PangoFontDescription *font_desc)
{
GdkFont *result = NULL;
LOGFONT logfont;
int size;
@ -1246,7 +1245,9 @@ gdk_font_from_description_for_display (GdkDisplay *display,
size = PANGO_PIXELS (pango_font_description_get_size (font_desc));
logfont.lfHeight = - MulDiv (PointSize, GetDeviceCaps (hDC, LOGPIXELSY), 72);
logfont.lfHeight = - MulDiv (size,
GetDeviceCaps (_gdk_display_hdc, LOGPIXELSY),
72);
logfont.lfWidth = 0;
logfont.lfEscapement = 0;
logfont.lfOrientation = 0;