summaryrefslogtreecommitdiff
path: root/otk/truerendercontrol.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-20 19:28:57 +0000
committerDana Jansens <danakj@orodu.net>2003-01-20 19:28:57 +0000
commit68a6fce53badb38ba3dc387c4b5c86c02801f657 (patch)
tree059c61cf79cec14272fe24ff03402bfdb54fdc12 /otk/truerendercontrol.cc
parent24e20d5ed6f07f61bbc8ee2bdeac377ca2373bdb (diff)
dont try free the widget's pixmap until it is no longer in use
Diffstat (limited to 'otk/truerendercontrol.cc')
-rw-r--r--otk/truerendercontrol.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/otk/truerendercontrol.cc b/otk/truerendercontrol.cc
index 786a3b09..078cde5b 100644
--- a/otk/truerendercontrol.cc
+++ b/otk/truerendercontrol.cc
@@ -132,5 +132,7 @@ void TrueRenderControl::drawBackground(Surface& sf,
delete [] im->data;
im->data = NULL;
- XDestroyImage(im);}
+ XDestroyImage(im);
+}
+
}