From: pjrm Date: Thu, 11 Oct 2007 14:09:14 +0000 (+0000) Subject: noop: ui/widget/selected-style.cpp: Change a local var to be more const, to avoid... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8c1f342e17b69f0cc6fa0b13638b6df0c2c67256;p=inkscape.git noop: ui/widget/selected-style.cpp: Change a local var to be more const, to avoid char* string literal warnings from g++-4.2. --- 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 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)