diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-07-07 10:27:06 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-07-07 10:27:06 +0000 |
| commit | 300491ce5a932ba777274e7f5c3d085f5ca59ee0 (patch) | |
| tree | 089b6cc4dd4d14640858cab9b05b4e73927d9c3b /src/GCCache.cc | |
| parent | b29977196b527bb50b045cad249e9c149fa0ef75 (diff) | |
sync with bb-cvs
Diffstat (limited to 'src/GCCache.cc')
| -rw-r--r-- | src/GCCache.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/GCCache.cc b/src/GCCache.cc index 57310a44..35670a85 100644 --- a/src/GCCache.cc +++ b/src/GCCache.cc @@ -35,6 +35,12 @@ extern "C" { #include "Util.hh" +BGCCacheContext::~BGCCacheContext(void) { + if (gc) + XFreeGC(display->getXDisplay(), gc); +} + + void BGCCacheContext::set(const BColor &_color, const XFontStruct * const _font, const int _function, const int _subwindow) { |
