]> git.tokkee.org Git - inkscape.git/commitdiff

Code

Removed some (minor) build warnings for input.cp file.
authormfloryan <mfloryan@users.sourceforge.net>
Sat, 23 Feb 2008 00:12:53 +0000 (00:12 +0000)
committermfloryan <mfloryan@users.sourceforge.net>
Sat, 23 Feb 2008 00:12:53 +0000 (00:12 +0000)
src/dialogs/input.cpp

index 4cad0b64c5b878e3f8f453a26e32a0fa0101da20..f4690623e3bec07e75bde02070a4749aa69075fc 100644 (file)
@@ -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"
 };