mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-12 21:40:19 +00:00
Patch 939583
This commit is contained in:
parent
0a1f711eb0
commit
c8134c7fda
@ -1,3 +1,10 @@
|
||||
2004-05-21 Raymond Penners <raymond@dotsphinx.com>
|
||||
|
||||
* configure.in: Bump version number (0.6.0)
|
||||
|
||||
* src/msw_style.c: Applied patch by John Ehresman that fixes a
|
||||
memory leak.
|
||||
|
||||
2004-05-21 Dom Lachowicz <cinamod@hotmail.com>
|
||||
|
||||
* src/Theme/gtk-2.0/gtkrc: Better icon sizes
|
||||
|
@ -519,8 +519,16 @@ setup_system_font(GtkStyle *style)
|
||||
{
|
||||
char buf[256], * font; /* It's okay, lfFaceName is smaller than 32 chars */
|
||||
|
||||
if ((font = sys_font_to_pango_font(XP_THEME_CLASS_TEXT, XP_THEME_FONT_MESSAGE, buf, sizeof (buf))) != NULL)
|
||||
style->font_desc = pango_font_description_from_string(font);
|
||||
if ((font = sys_font_to_pango_font(XP_THEME_CLASS_TEXT,
|
||||
XP_THEME_FONT_MESSAGE,
|
||||
buf, sizeof (buf))) != NULL)
|
||||
{
|
||||
if (style->font_desc)
|
||||
{
|
||||
pango_font_description_free (style->font_desc);
|
||||
}
|
||||
style->font_desc = pango_font_description_from_string(font);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user