summaryrefslogtreecommitdiff
path: root/otk/style.hh
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/style.hh
parent723739dafe91a156fef527f3b53a483195695cf1 (diff)
more api cleanups
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; }