summaryrefslogtreecommitdiff
path: root/src/labelwidget.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/labelwidget.cc')
-rw-r--r--src/labelwidget.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/labelwidget.cc b/src/labelwidget.cc
index 16c8eae2..d76bd3f1 100644
--- a/src/labelwidget.cc
+++ b/src/labelwidget.cc
@@ -14,8 +14,8 @@ LabelWidget::LabelWidget(otk::Widget *parent, WidgetBase::WidgetType type)
: otk::Widget(parent),
WidgetBase(type)
{
- const otk::ScreenInfo *info = otk::Display::screenInfo(_screen);
- _xftdraw = XftDrawCreate(otk::Display::display, _window, info->visual(),
+ const otk::ScreenInfo *info = otk::display->screenInfo(_screen);
+ _xftdraw = XftDrawCreate(**otk::display, _window, info->visual(),
info->colormap());
}