[gnome-klotski] Remove a method.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-klotski] Remove a method.
- Date: Mon, 10 Feb 2020 17:18:50 +0000 (UTC)
commit 9c5d601924b36a8b92fedab4acd1cb7a642a901f
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Sun Feb 9 05:25:54 2020 +0100
Remove a method.
src/puzzle-view.vala | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
---
diff --git a/src/puzzle-view.vala b/src/puzzle-view.vala
index 80bbc63..91906d7 100644
--- a/src/puzzle-view.vala
+++ b/src/puzzle-view.vala
@@ -59,8 +59,8 @@ private class PuzzleView : Gtk.DrawingArea
if (puzzle_init_done)
SignalHandler.disconnect_by_func (_puzzle, null, this);
_puzzle = value;
+ _puzzle.changed.connect (queue_draw);
puzzle_init_done = true;
- _puzzle.changed.connect (puzzle_changed_cb);
piece_x = 0;
piece_y = 0;
piece_unmoved = false;
@@ -319,9 +319,4 @@ private class PuzzleView : Gtk.DrawingArea
return false;
}
-
- private void puzzle_changed_cb ()
- {
- queue_draw ();
- }
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]