summaryrefslogtreecommitdiff
path: root/otk/image.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-12-20 15:33:58 +0000
committerDana Jansens <danakj@orodu.net>2002-12-20 15:33:58 +0000
commit06de24ec6666578759eff2b348e50f5e8e20f3bd (patch)
tree96dca3fb0fe9efa083d0030f712b1235dfbd4cef /otk/image.cc
parent723739dafe91a156fef527f3b53a483195695cf1 (diff)
more api cleanups
Diffstat (limited to 'otk/image.cc')
-rw-r--r--otk/image.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/otk/image.cc b/otk/image.cc
index 8b4e8ede..bd8d0ea7 100644
--- a/otk/image.cc
+++ b/otk/image.cc
@@ -562,7 +562,7 @@ Pixmap BImage::renderPixmap(void) {
XPutImage(OBDisplay::display, pixmap,
DefaultGC(OBDisplay::display,
- control->getScreenInfo()->getScreenNumber()),
+ control->getScreenInfo()->screen()),
image, 0, 0, 0, 0, width, height);
if (image->data) {