comparison lwlib/xlwtabs.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
comparison
equal deleted inserted replaced
4172:a7adbba5c862 4173:03f6627a2e09
570 570
571 571
572 static void 572 static void
573 TabsDestroy(Widget w) 573 TabsDestroy(Widget w)
574 { 574 {
575 TabsFreeGCs((TabsWidget)w) ; 575 TabsWidget tw = (TabsWidget) w;
576 #ifdef USE_XFT_TABS
577 XftFontClose (XtDisplay (w), tw->tabs.renderFont);
578 #endif /* ! USE_XFT_TABS */
579 TabsFreeGCs (tw) ;
576 } 580 }
577 581
578 582
579 /* Parent has resized us. This will require that the tabs be 583 /* Parent has resized us. This will require that the tabs be
580 * laid out again. 584 * laid out again.