Code

noop: ui/widget/selected-style.cpp: Change a local var to be more const, to avoid...
authorpjrm <pjrm@users.sourceforge.net>
Thu, 11 Oct 2007 14:09:14 +0000 (14:09 +0000)
committerpjrm <pjrm@users.sourceforge.net>
Thu, 11 Oct 2007 14:09:14 +0000 (14:09 +0000)
src/ui/widget/selected-style.cpp

index 139a431b9a70532af23c5e01017d63e418cb7db1..22cd30828fa8d3b419352a8fd04ca419434d277c 100644 (file)
@@ -42,7 +42,7 @@
 #include <display/sp-canvas.h>
 
 static gdouble const _sw_presets[]     = { 32 ,  16 ,  10 ,  8 ,  6 ,  4 ,  3 ,  2 ,  1.5 ,  1 ,  0.75 ,  0.5 ,  0.25 ,  0.1 };
-static gcharconst _sw_presets_str[] = {"32", "16", "10", "8", "6", "4", "3", "2", "1.5", "1", "0.75", "0.5", "0.25", "0.1"};
+static gchar const *const _sw_presets_str[] = {"32", "16", "10", "8", "6", "4", "3", "2", "1.5", "1", "0.75", "0.5", "0.25", "0.1"};
 
 static void 
 ss_selection_changed (Inkscape::Selection *, gpointer data)