summaryrefslogtreecommitdiffstats
path: root/src/widgets/swatch-selector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/swatch-selector.cpp')
-rw-r--r--src/widgets/swatch-selector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/swatch-selector.cpp b/src/widgets/swatch-selector.cpp
index 50ee632cd..602adec4f 100644
--- a/src/widgets/swatch-selector.cpp
+++ b/src/widgets/swatch-selector.cpp
@@ -125,7 +125,7 @@ void SwatchSelector::_changedCb(SPColorSelector */*csel*/, void *data)
float alpha = 0;
guint32 rgb = 0;
- swsel->_csel->base->getColorAlpha( color, &alpha );
+ swsel->_csel->base->getColorAlpha( color, alpha );
rgb = color.toRGBA32( 0x00 );
// TODO replace with generic shared code that also handles icc-color