diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-13 08:48:03 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-13 08:48:03 +0000 |
| commit | c97915f445017d36667a6ad32767fa41d14d23b1 (patch) | |
| tree | 66ea465799a6b00ef1361a44774d4610ca6ca814 /otk/focuslabel.cc | |
| parent | 9e77a88d269bfafb78e56a646bfacebdd6ff4c5a (diff) | |
un-static otk::Display. add an operator* to it. make a global ob::display var.
Diffstat (limited to 'otk/focuslabel.cc')
| -rw-r--r-- | otk/focuslabel.cc | 4 |
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()); } |
