diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/gtkutil.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 () | |||
| 3937 | { | 3937 | { |
| 3938 | GtkBindingSet *binding_set; | 3938 | GtkBindingSet *binding_set; |
| 3939 | 3939 | ||
| 3940 | #if HAVE_XFT | ||
| 3941 | /* Work around a bug with corrupted data if libXft gets unloaded. This way | ||
| 3942 | we keep it permanently linked in. */ | ||
| 3943 | XftInit (0); | ||
| 3944 | #endif | ||
| 3940 | xg_ignore_gtk_scrollbar = 0; | 3945 | xg_ignore_gtk_scrollbar = 0; |
| 3941 | xg_detached_menus = 0; | 3946 | xg_detached_menus = 0; |
| 3942 | xg_menu_cb_list.prev = xg_menu_cb_list.next = | 3947 | xg_menu_cb_list.prev = xg_menu_cb_list.next = |