[gnome-mines/arnaudb/wip/gtk4: 31/41] Fix a small thing.



commit f7f982741a374ec8a362839cc646c8ba4627d82e
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Tue Apr 14 18:32:58 2020 +0200

    Fix a small thing.

 src/gnome-mines.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gnome-mines.vala b/src/gnome-mines.vala
index 7211e10..f81cc6f 100644
--- a/src/gnome-mines.vala
+++ b/src/gnome-mines.vala
@@ -645,7 +645,7 @@ public class Mines : Gtk.Application
     private void start_game ()
     {
         window_skip_configure = true;
-        minefield_view.has_focus = true;
+        minefield_view.grab_focus ();
 
         repeat_size_action.set_enabled (false);
         play_pause_label.label = _("_Pause");


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