aboutsummaryrefslogtreecommitdiff
path: root/dw/layout.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dw/layout.cc')
-rw-r--r--dw/layout.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/layout.cc b/dw/layout.cc
index 8e1f065c..89361881 100644
--- a/dw/layout.cc
+++ b/dw/layout.cc
@@ -580,7 +580,7 @@ void Layout::draw (View *view, Rectangle *area)
// First of all, draw background image. (Unlike background *color*,
// this is not a feature of the views.)
- if (bgImage != NULL && bgImage->getImgbuf() != NULL)
+ if (bgImage != NULL && bgImage->getImgbufSrc() != NULL)
style::drawBackgroundImage (view, bgImage, bgRepeat, bgAttachment,
bgPositionX, bgPositionY,
area->x, area->y, area->width,