diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2010-10-17 22:12:45 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2010-10-17 22:12:45 +0200 |
commit | 9e7f46acf51ab4dd0c3e0e1c2d7dcb47d4e709e9 (patch) | |
tree | 3c0a6f8f9bb8ad8bf356bd84ddad52d535007ae8 /dw/widget.cc | |
parent | 6c7f9bd1398482e9098c8495dc2c5f13e771a865 (diff) |
first ref(), then unref() in Layout::setBgColor()
In case new and old bgColor are the same thing, we need to avoid to
delete bgColor by first unref()ing it.
Diffstat (limited to 'dw/widget.cc')
0 files changed, 0 insertions, 0 deletions