[gnome-chess] Revert "view: properly disconnect scene_changed_cb"



commit 58db0721262771c54eea784e3bb376e8de50dcca
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Fri Dec 25 08:19:09 2020 -0600

    Revert "view: properly disconnect scene_changed_cb"
    
    This reverts commit 574158dbb9d6ee1f32487c83be351348783bcbf3.
    
    It crashes the first time the property is set, and it is only set once.
    I don't want to make this nullable, so let's try something different....

 src/chess-view.vala | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/src/chess-view.vala b/src/chess-view.vala
index 72268e5..ed854d5 100644
--- a/src/chess-view.vala
+++ b/src/chess-view.vala
@@ -27,7 +27,6 @@ public class ChessView : Gtk.DrawingArea
         get { return _scene; }
         set
         {
-            _scene.changed.disconnect (scene_changed_cb);
             _scene = value;
             _scene.changed.connect (scene_changed_cb);
             queue_draw ();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]