From: Jan Djärv Date: Thu, 10 Jan 2013 17:45:08 +0000 (+0100) Subject: * gtkutil.c (xg_initialize): Add ifdef HAVE_FREETYPE around X-Git-Tag: emacs-24.3.90~173^2~7^2~346 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=48660ca5db63d6245c56dd373adfcdb1879eb352;p=emacs.git * gtkutil.c (xg_initialize): Add ifdef HAVE_FREETYPE around x_last_font_name. Fixes: debbugs:13403 --- diff --git a/src/ChangeLog b/src/ChangeLog index 55a233adcd7..dd22c5388b0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2013-01-10 Rainer Orth (tiny change) + + * gtkutil.c (xg_initialize): Add ifdef HAVE_FREETYPE around + x_last_font_name (Bug#13403). + 2013-01-10 Dmitry Antipov Omit buffer_slot_type_mismatch and use generic predicates to enforce diff --git a/src/gtkutil.c b/src/gtkutil.c index 95ac04b8ff0..6daf189f74c 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c @@ -5041,7 +5041,9 @@ xg_initialize (void) "cancel", 0); update_theme_scrollbar_width (); +#ifdef HAVE_FREETYPE x_last_font_name = NULL; +#endif } #endif /* USE_GTK */