diff options
Diffstat (limited to 'otk/label.cc')
| -rw-r--r-- | otk/label.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/otk/label.cc b/otk/label.cc index 05ed6cfa..da9edfd1 100644 --- a/otk/label.cc +++ b/otk/label.cc @@ -11,8 +11,8 @@ namespace otk { Label::Label(Widget *parent) : Widget(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()); } |
