[gnome-sudoku] sudoku-board: fix warning about overriding parent methods



commit bbf5b88a0451b5c6b3be69833d62e466515bd4ae
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Mon Sep 15 15:11:47 2014 -0500

    sudoku-board: fix warning about overriding parent methods

 lib/sudoku-board.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lib/sudoku-board.vala b/lib/sudoku-board.vala
index 76052fe..4096273 100644
--- a/lib/sudoku-board.vala
+++ b/lib/sudoku-board.vala
@@ -288,7 +288,7 @@ public class SudokuBoard : Object
             completed();
     }
 
-    public void set (int row, int col, int val)
+    public new void set (int row, int col, int val)
     {
         if (val == 0)
         {
@@ -304,7 +304,7 @@ public class SudokuBoard : Object
         }
     }
 
-    public int get (int row, int col)
+    public new int get (int row, int col)
     {
         return cells[row, col];
     }


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