summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRalf Stephan <ralf@ark.in-berlin.de>2006-06-27 15:52:56 +0000
committerrwst <rwst@users.sourceforge.net>2006-06-27 15:52:56 +0000
commit77262bf62af8a8ae85b70d2a7a32d1ab7f48b437 (patch)
tree93643a14ebb98614f2d8313fc7a10bac9feee5b6 /src
parentPATCH 1512096 slovak.nsis.patch (diff)
downloadinkscape-77262bf62af8a8ae85b70d2a7a32d1ab7f48b437.tar.gz
inkscape-77262bf62af8a8ae85b70d2a7a32d1ab7f48b437.zip
fix 4.2 xcompilation: remove array assignment hack
(bzr r1309)
Diffstat (limited to 'src')
-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);