From ea33b8ececd996dc44b054a2ca5033c0432304b5 Mon Sep 17 00:00:00 2001 From: mfloryan Date: Sat, 23 Feb 2008 00:12:53 +0000 Subject: [PATCH] Removed some (minor) build warnings for input.cp file. --- src/dialogs/input.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dialogs/input.cpp b/src/dialogs/input.cpp index 4cad0b64c..f4690623e 100644 --- a/src/dialogs/input.cpp +++ b/src/dialogs/input.cpp @@ -35,7 +35,7 @@ static win_data wd; // impossible original values to make sure they are read from prefs static gint x = -1000, y = -1000, w = 0, h = 0; -static gchar *prefs_path = "dialogs.input"; +static const gchar *prefs_path = "dialogs.input"; static void sp_input_dialog_destroy (GtkObject */*object*/, gpointer /*data*/) @@ -63,7 +63,7 @@ sp_input_dialog_delete (GtkObject */*object*/, GdkEvent */*event*/, gpointer /*d } -static gchar *axis_use_strings[GDK_AXIS_LAST] = { +static const gchar *axis_use_strings[GDK_AXIS_LAST] = { "ignore", "x", "y", "pressure", "xtilt", "ytilt", "wheel" }; -- 2.39.5