[gnome-sudoku] Fix new warnings about static const variables



commit e3367fd8135b2dace6d1b7208199e46cb43250f4
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Mon Jul 11 22:48:49 2016 -0500

    Fix new warnings about static const variables

 src/gnome-sudoku.vala  |    2 +-
 src/number-picker.vala |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-sudoku.vala b/src/gnome-sudoku.vala
index 02fef4a..2c9f4d2 100644
--- a/src/gnome-sudoku.vala
+++ b/src/gnome-sudoku.vala
@@ -78,7 +78,7 @@ public class Sudoku : Gtk.Application
         {"quit", quit                                               }
     };
 
-    private static const OptionEntry[] option_entries =
+    private const OptionEntry[] option_entries =
     {
         { "version", 'v', 0, OptionArg.NONE, null,
         /* Help string for command line --version flag */
diff --git a/src/number-picker.vala b/src/number-picker.vala
index 5f5a816..22e3032 100644
--- a/src/number-picker.vala
+++ b/src/number-picker.vala
@@ -30,7 +30,7 @@ private class NumberPicker : Gtk.Grid
 
     private Button clear_button;
 
-    private static const int EARMARKS_MAX_ALLOWED = 5;
+    private const int EARMARKS_MAX_ALLOWED = 5;
     private int earmarks_active;
 
     public NumberPicker (ref SudokuBoard board, bool earmark = false)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]