Commit 3502a2a2 authored by J. Ali Harlow's avatar J. Ali Harlow Committed by J. Ali Harlow

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.
parent b7bd6854
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)
......
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)
......
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)
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment