summaryrefslogtreecommitdiff
path: root/src/gtkutil.c
diff options
context:
space:
mode:
authorJan Djärv <jan.h.d@swipnet.se>2013-01-10 18:45:08 +0100
committerJan Djärv <jan.h.d@swipnet.se>2013-01-10 18:45:08 +0100
commit48660ca5db63d6245c56dd373adfcdb1879eb352 (patch)
tree6952651beec875353a15110e086803f10e3a700e /src/gtkutil.c
parent72781fefa6c91b51e44e7faed4b8792fbd65f345 (diff)
* gtkutil.c (xg_initialize): Add ifdef HAVE_FREETYPE around
x_last_font_name. Fixes: debbugs:13403
Diffstat (limited to 'src/gtkutil.c')
-rw-r--r--src/gtkutil.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gtkutil.c b/src/gtkutil.c
index 95ac04b8ff..6daf189f74 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 */