summaryrefslogtreecommitdiff
path: root/otk/label.cc
diff options
context:
space:
mode:
Diffstat (limited to 'otk/label.cc')
-rw-r--r--otk/label.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/otk/label.cc b/otk/label.cc
index bbc8a6b7..cc67a316 100644
--- a/otk/label.cc
+++ b/otk/label.cc
@@ -12,8 +12,8 @@ OtkLabel::OtkLabel(OtkWidget *parent)
: OtkWidget(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());
}
OtkLabel::~OtkLabel()