Mercurial > hg > xemacs-beta
diff lwlib/xlwmenu.c @ 4173:03f6627a2e09
[xemacs-hg @ 2007-09-18 02:55:29 by james]
Release XftFont resources. See xemacs-patches message
<870180fe0709151610s3618b854y1f845489d4723f00@mail.gmail.com>.
author | james |
---|---|
date | Tue, 18 Sep 2007 02:55:29 +0000 |
parents | 382b11fa8866 |
children | 383ab474a241 |
line wrap: on
line diff
--- a/lwlib/xlwmenu.c Mon Sep 17 21:50:52 2007 +0000 +++ b/lwlib/xlwmenu.c Tue Sep 18 02:55:29 2007 +0000 @@ -3351,6 +3351,10 @@ XFreePixmap (XtDisplay (mw), mw->menu.gray_pixmap); mw->menu.gray_pixmap = (Pixmap) -1; +#ifdef USE_XFT_MENUBARS + XftFontClose (XtDisplay (mw), mw->menu.renderFont); +#endif + /* Don't free mw->menu.contents because that comes from our creator. The `*_stack' elements are just pointers into `contents' so leave that alone too. But free the stacks themselves. */