[swell-foop/arnaudb/wip/gtk4: 29/30] Add a leak.




commit 366bc8803ddcc8ad67fa59618157af2afafe396a
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Fri Sep 11 17:47:58 2020 +0200

    Add a leak.

 src/game-view.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/game-view.vala b/src/game-view.vala
index 7fb2c6d..38c7911 100644
--- a/src/game-view.vala
+++ b/src/game-view.vala
@@ -513,7 +513,7 @@ private class TileView : Widget
         if (click_controller.get_widget () != null)   // FIXME animate_out should not be called multiple 
times
         {
             remove_controller (click_controller);
-            remove_controller (inout_controller);
+//            remove_controller (inout_controller);     // FIXME "leak", maybe a Gtk bug
         }
         remove_css_class ("highlight");
         add_css_class ("removed");


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