summaryrefslogtreecommitdiff
path: root/otk/widget.hh
diff options
context:
space:
mode:
Diffstat (limited to 'otk/widget.hh')
-rw-r--r--otk/widget.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/otk/widget.hh b/otk/widget.hh
index 57973e9b..249a4e28 100644
--- a/otk/widget.hh
+++ b/otk/widget.hh
@@ -101,7 +101,7 @@ public:
void setDirection(Direction dir) { _direction = dir; }
inline Style *getStyle(void) const { return _style; }
- virtual void setStyle(Style *style) { assert(style); _style = style; }
+ virtual void setStyle(Style *style);
inline OtkEventDispatcher *getEventDispatcher(void)
{ return _event_dispatcher; }