From: Jan Djärv Date: Fri, 26 Jan 2007 16:34:19 +0000 (+0000) Subject: (xg_initialize): Call XftInit if HAVE_XFT. X-Git-Tag: emacs-pretest-22.0.94~616 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=430e6c77d8ac048f3947ab918f484c5dedfa7ebd;p=emacs.git (xg_initialize): Call XftInit if HAVE_XFT. --- diff --git a/src/gtkutil.c b/src/gtkutil.c index dc81f016509..fe1eb6cdfdb 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c @@ -3937,6 +3937,11 @@ xg_initialize () { 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 =