summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/selected-style.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/widget/selected-style.cpp')
-rw-r--r--src/ui/widget/selected-style.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ui/widget/selected-style.cpp b/src/ui/widget/selected-style.cpp
index 44d8232e0..a2e57d600 100644
--- a/src/ui/widget/selected-style.cpp
+++ b/src/ui/widget/selected-style.cpp
@@ -109,11 +109,12 @@ SelectedStyle::SelectedStyle(bool layout)
_sw_unit(NULL),
- _tooltips (),
+ _tooltips ()
- _drop((void*[]){0,0}),
- _dropEnabled((bool[]){false, false})
{
+ _drop[0] = _drop[1] = 0;
+ _dropEnabled[0] = _dropEnabled[1] = false;
+
_fill_label.set_alignment(0.0, 0.5);
_fill_label.set_padding(0, 0);
_stroke_label.set_alignment(0.0, 0.5);