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 5b9fcb30..136eb742 100644
--- a/otk/focuslabel.cc
+++ b/otk/focuslabel.cc
@@ -14,8 +14,8 @@ OtkFocusLabel::OtkFocusLabel(OtkWidget *parent)
: OtkFocusWidget(parent), _text("")
{
const ScreenInfo *info = OBDisplay::screenInfo(screen());
- _xftdraw = XftDrawCreate(OBDisplay::display, window(), info->getVisual(),
- info->getColormap());
+ _xftdraw = XftDrawCreate(OBDisplay::display, window(), info->visual(),
+ info->colormap());
}
OtkFocusLabel::~OtkFocusLabel()