[iagno/gnome-3-8] Workaround signal misfires



commit 800dddeb76363010daee3c8189f93623f31f8889
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 bdf6d72..e0eb13b 100644
--- a/src/iagno.vala
+++ b/src/iagno.vala
@@ -332,8 +332,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]