summaryrefslogtreecommitdiff
path: root/otk/style.hh
diff options
context:
space:
mode:
Diffstat (limited to 'otk/style.hh')
-rw-r--r--otk/style.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/otk/style.hh b/otk/style.hh
index c024ade9..c0e0bbd9 100644
--- a/otk/style.hh
+++ b/otk/style.hh
@@ -137,7 +137,7 @@ public:
inline void setImageControl(BImageControl *c) {
image_control = c;
- screen_number = c->getScreenInfo()->getScreenNumber();
+ screen_number = c->getScreenInfo()->screen();
}
inline unsigned int getScreen(void) { return screen_number; }