* gtkutil.c (xg_initialize): Backport from trunk.
authorJan Djärv <jan.h.d@swipnet.se>
Fri, 11 Jan 2013 01:22:49 +0000 (02:22 +0100)
committerJan Djärv <jan.h.d@swipnet.se>
Fri, 11 Jan 2013 01:22:49 +0000 (02:22 +0100)
Add ifdef HAVE_FREETYPE around x_last_font_name.

Fixes: debbugs:13403

src/ChangeLog
src/gtkutil.c

index 0ba5b2c..8c16df2 100644 (file)
@@ -1,3 +1,8 @@
+2013-01-11  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * gtkutil.c (xg_initialize): Backport from trunk.
+       Add ifdef HAVE_FREETYPE around x_last_font_name (Bug#13403).
+
 2013-01-11  Paul Eggert  <eggert@cs.ucla.edu>
 
        Backport typo fix from trunk, for AIX (Bug#13408).
index 0c7d0d1..e76b0a7 100644 (file)
@@ -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 */