Code

fix 4.2 xcompilation: remove array assignment hack
authorrwst <rwst@users.sourceforge.net>
Tue, 27 Jun 2006 15:52:56 +0000 (15:52 +0000)
committerrwst <rwst@users.sourceforge.net>
Tue, 27 Jun 2006 15:52:56 +0000 (15:52 +0000)
src/ui/widget/selected-style.cpp

index 44d8232e0d24ecb4c17b308ff1320173e9faf99e..a2e57d6000a315003ab097d31408d0af5e857d30 100644 (file)
@@ -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);