From 8c1f342e17b69f0cc6fa0b13638b6df0c2c67256 Mon Sep 17 00:00:00 2001 From: pjrm Date: Thu, 11 Oct 2007 14:09:14 +0000 Subject: [PATCH] noop: ui/widget/selected-style.cpp: Change a local var to be more const, to avoid char* string literal warnings from g++-4.2. --- src/ui/widget/selected-style.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2