Mercurial > hg > svgui
comparison layer/ColourScaleLayer.h @ 768:8b614632568c
SingleColourLayer: fix colour reference counting
* Always unref/ref colour before/after changing.
* Ref colour in constructor and unref in destructor.
author | Jakob Leben <jakob.leben@gmail.com> |
---|---|
date | Sat, 12 Apr 2014 01:07:05 -0700 |
parents | 1a1448f7beb2 |
children | b66fb15de477 |
comparison
equal
deleted
inserted
replaced
767:e93c6ae12526 | 768:8b614632568c |
---|