summaryrefslogtreecommitdiff
path: root/otk/image.cc
diff options
context:
space:
mode:
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) {