[gnome-sudoku] Remove unused signals.
- From: Parin Porecha <parinporecha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-sudoku] Remove unused signals.
- Date: Tue, 19 Aug 2014 21:06:58 +0000 (UTC)
commit 416b1b6fe94b9acee60cd2cbab7cff9995102167
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Mon Aug 18 19:53:43 2014 +0200
Remove unused signals.
src/sudoku-view.vala | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/src/sudoku-view.vala b/src/sudoku-view.vala
index 1f43534..8ba4c35 100644
--- a/src/sudoku-view.vala
+++ b/src/sudoku-view.vala
@@ -352,10 +352,6 @@ public class SudokuView : Gtk.AspectFrame
public SudokuGame game;
private SudokuCellView[,] cells;
- public signal void cell_focus_in_event (int row, int col);
- public signal void cell_focus_out_event (int row, int col);
- public signal void cell_value_changed_event (int row, int col);
-
private bool previous_board_broken_state = false;
private Gtk.Overlay overlay;
@@ -425,15 +421,9 @@ public class SudokuView : Gtk.AspectFrame
cell.background_color = cell.is_fixed ? fixed_cell_color : free_cell_color;
- cell.focus_out_event.connect (() => {
- cell_focus_out_event (cell_row, cell_col);
- return false;
- });
-
cell.focus_in_event.connect (() => {
this.selected_x = cell_col;
this.selected_y = cell_row;
- cell_focus_in_event (cell_row, cell_col);
for (var col_tmp = 0; col_tmp < game.board.cols; col_tmp++)
{
@@ -455,7 +445,6 @@ public class SudokuView : Gtk.AspectFrame
cell.notify["value"].connect ((s, p)=> {
if (_show_possibilities || _show_warnings || game.board.broken ||
previous_board_broken_state)
previous_board_broken_state = game.board.broken;
- cell_value_changed_event (cell_row, cell_col);
// Redraw the board
this.queue_draw ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]