[gnome-mines/arnaudb/wip/gtk4: 69/85] Fix a small thing.




commit 08fe1296781b3aad992505624a48054a42aefffe
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 0ac84be..9f594cc 100644
--- a/src/gnome-mines.vala
+++ b/src/gnome-mines.vala
@@ -646,7 +646,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]