summaryrefslogtreecommitdiff
path: root/otk/focuslabel.cc
diff options
context:
space:
mode:
Diffstat (limited to 'otk/focuslabel.cc')
-rw-r--r--otk/focuslabel.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/otk/focuslabel.cc b/otk/focuslabel.cc
index 79c1507f..b1b8c764 100644
--- a/otk/focuslabel.cc
+++ b/otk/focuslabel.cc
@@ -13,8 +13,8 @@ namespace otk {
FocusLabel::FocusLabel(Widget *parent)
: FocusWidget(parent), _text("")
{
- const ScreenInfo *info = Display::screenInfo(screen());
- _xftdraw = XftDrawCreate(Display::display, window(), info->visual(),
+ const ScreenInfo *info = display->screenInfo(screen());
+ _xftdraw = XftDrawCreate(**display, window(), info->visual(),
info->colormap());
}