]> Dogcows Code - chaz/openbox/blobdiff - otk/label.cc
move render()
[chaz/openbox] / otk / label.cc
index 05ed6cfa13c9e3975d643828cd018deb311e9210..da9edfd179708c591b30b6fbbe2e6f4ff6ceed59 100644 (file)
@@ -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());
 }
 
This page took 0.023684 seconds and 4 git commands to generate.