summaryrefslogtreecommitdiffstats
path: root/views/view.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/view.h')
-rw-r--r--views/view.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/views/view.h b/views/view.h
index 5f98564..8fe4de8 100644
--- a/views/view.h
+++ b/views/view.h
@@ -534,6 +534,7 @@ class View : public AcceleratorTarget {
// The background object is owned by this object and may be NULL.
void set_background(Background* b) { background_.reset(b); }
const Background* background() const { return background_.get(); }
+ Background* background() { return background_.get(); }
// The border object is owned by this object and may be NULL.
void set_border(Border* b) { border_.reset(b); }