mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
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:
parent
b7bd68546c
commit
3502a2a259
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user