summaryrefslogtreecommitdiff
path: root/src/Image.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Image.cc')
-rw-r--r--src/Image.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Image.cc b/src/Image.cc
index 97f2b342..401191e3 100644
--- a/src/Image.cc
+++ b/src/Image.cc
@@ -1774,7 +1774,7 @@ BImageControl::BImageControl(BaseDisplay *dpy, ScreenInfo *scrn, Bool _dither,
cache_max = cmax;
#ifdef TIMEDCACHE
if (cache_timeout) {
- timer = new BTimer(basedisplay, this);
+ timer = new BTimer(*basedisplay, *this);
timer->setTimeout(cache_timeout);
timer->start();
} else