changeset 75417:c21d47d727f3

(xg_initialize): Call XftInit if HAVE_XFT.
author Jan Djärv <jan.h.d@swipnet.se>
date Fri, 26 Jan 2007 16:34:19 +0000
parents 872d383274b2
children 0717aeaaa61d
files src/gtkutil.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkutil.c	Fri Jan 26 16:34:09 2007 +0000
+++ b/src/gtkutil.c	Fri Jan 26 16:34:19 2007 +0000
@@ -3937,6 +3937,11 @@
 {
   GtkBindingSet *binding_set;
 
+#if HAVE_XFT
+  /* Work around a bug with corrupted data if libXft gets unloaded.  This way
+     we keep it permanently linked in.  */
+  XftInit (0);
+#endif
   xg_ignore_gtk_scrollbar = 0;
   xg_detached_menus = 0;
   xg_menu_cb_list.prev = xg_menu_cb_list.next =