From 38693137f66848fa3e3fee5d0af8436e9fe7414b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Dj=C3=A4rv?= Date: Fri, 11 Jan 2013 02:22:49 +0100 Subject: [PATCH] * gtkutil.c (xg_initialize): Backport from trunk. Add ifdef HAVE_FREETYPE around x_last_font_name. Fixes: debbugs:13403 --- src/ChangeLog | 5 +++++ src/gtkutil.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 0ba5b2ccab2..8c16df2803d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2013-01-11 Jan Djärv + + * gtkutil.c (xg_initialize): Backport from trunk. + Add ifdef HAVE_FREETYPE around x_last_font_name (Bug#13403). + 2013-01-11 Paul Eggert Backport typo fix from trunk, for AIX (Bug#13408). diff --git a/src/gtkutil.c b/src/gtkutil.c index 0c7d0d18f0b..e76b0a733a0 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c @@ -4994,7 +4994,9 @@ xg_initialize (void) "cancel", 0); update_theme_scrollbar_width (); +#ifdef HAVE_FREETYPE x_last_font_name = NULL; +#endif } #endif /* USE_GTK */ -- 2.39.2