[iagno/gnome-3-10] Workaround signal misfires
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [iagno/gnome-3-10] Workaround signal misfires
- Date: Sat, 28 Sep 2013 23:36:23 +0000 (UTC)
commit 98f01738b7c60e00ebea46d88acaf83ebc6ef946
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Fri Sep 27 23:45:11 2013 -0500
Workaround signal misfires
https://bugzilla.gnome.org/show_bug.cgi?id=708130
src/iagno.vala | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/iagno.vala b/src/iagno.vala
index 15ab00d..ba9b059 100644
--- a/src/iagno.vala
+++ b/src/iagno.vala
@@ -342,8 +342,11 @@ public class Iagno : Gtk.Application
}
}
- private void game_move_cb ()
+ private void game_move_cb (Game g)
{
+ /* Bug #708130 */
+ return_if_fail (g == game);
+
play_sound ("flip-piece");
if (!game.can_move)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]