[gnome-mines] Remove unused signals
- From: Robert Roth <robertroth src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-mines] Remove unused signals
- Date: Sat, 13 Oct 2018 21:39:36 +0000 (UTC)
commit 024703a24785c4bc116ccbed56785ab12f93750c
Author: Robert Roth <robert roth off gmail com>
Date: Sun Oct 14 00:39:23 2018 +0300
Remove unused signals
src/minefield-view.vala | 10 ----------
1 file changed, 10 deletions(-)
---
diff --git a/src/minefield-view.vala b/src/minefield-view.vala
index 1ec1672..e0ea051 100644
--- a/src/minefield-view.vala
+++ b/src/minefield-view.vala
@@ -148,9 +148,6 @@ public class MinefieldView : Gtk.Grid
}
}
- public signal void look ();
- public signal void unlook ();
-
public MinefieldView (Settings settings)
{
this.settings = settings;
@@ -243,13 +240,11 @@ public class MinefieldView : Gtk.Grid
if (event.button == 3 || (event.button == 1 && (event.state & Gdk.ModifierType.CONTROL_MASK) != 0))
{
toggle_mark (selected.x, selected.y);
- unlook ();
}
/* Left button to clear */
else if (event.button == 1)
{
selected.is_set = true;
- look ();
}
keyboard_cursor.is_set = false;
@@ -278,8 +273,6 @@ public class MinefieldView : Gtk.Grid
if (!minefield.is_location (selected.x, selected.y))
return;
- unlook ();
-
if (minefield.is_cleared (selected.x, selected.y))
minefield.multi_release (selected.x, selected.y);
else if (minefield.get_flag (selected.x, selected.y) != FlagType.FLAG)
@@ -488,7 +481,6 @@ public class MinefieldView : Gtk.Grid
{
selected.position = {x, y};
selected.is_set = true;
- look ();
}
}
break;
@@ -540,8 +532,6 @@ public class MinefieldView : Gtk.Grid
if (!selected.is_set || !keyboard_cursor.is_set)
return false;
- unlook ();
-
if (minefield.is_cleared (selected.x, selected.y))
minefield.multi_release (selected.x, selected.y);
else if (minefield.get_flag (selected.x, selected.y) != FlagType.FLAG)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]