summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/selected-style.cpp
diff options
context:
space:
mode:
authorPeter Moulder <peter.moulder@monash.edu>2007-10-11 14:09:14 +0000
committerpjrm <pjrm@users.sourceforge.net>2007-10-11 14:09:14 +0000
commitef0102be6a43c73416523348a8619c9d535c9c72 (patch)
tree843c00de64a7ae6d7a75209004021e43ca4dd8e2 /src/ui/widget/selected-style.cpp
parent(ui/dialog/document-metadata.h, ui/dialog/document-properties.h): Change _pre... (diff)
downloadinkscape-ef0102be6a43c73416523348a8619c9d535c9c72.tar.gz
inkscape-ef0102be6a43c73416523348a8619c9d535c9c72.zip
noop: ui/widget/selected-style.cpp: Change a local var to be more const, to avoid char* string literal warnings from g++-4.2.
(bzr r3882)
Diffstat (limited to 'src/ui/widget/selected-style.cpp')
-rw-r--r--src/ui/widget/selected-style.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/widget/selected-style.cpp b/src/ui/widget/selected-style.cpp
index 139a431b9..22cd30828 100644
--- a/src/ui/widget/selected-style.cpp
+++ b/src/ui/widget/selected-style.cpp
@@ -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 gchar* const _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)