Commit 7c867698 authored by Alexander Mikhaylenko's avatar Alexander Mikhaylenko
Browse files

application-window: Fix the window close confirmation

parent a53ab666
Pipeline #290958 passed with stage
in 37 minutes and 6 seconds
......@@ -128,7 +128,7 @@ private class Games.ApplicationWindow : Adw.ApplicationWindow {
protected override bool close_request () {
if (confirm_exit)
return true;
return Gdk.EVENT_PROPAGATE;
quit_game.begin ((obj, res) => {
if (!quit_game.end (res))
......@@ -139,7 +139,7 @@ private class Games.ApplicationWindow : Adw.ApplicationWindow {
close ();
});
return false;
return Gdk.EVENT_STOP;
}
[GtkCallback]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment