aboutsummaryrefslogtreecommitdiff
path: root/src/shutdown-dialog.vala
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2025-04-10 15:10:47 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2025-04-10 15:10:47 +0200
commit65ccc9ad9f8fa6186851b3e33a2747527355dae9 (patch)
treeb1f476c06bf6346c2ffb2173abcde59d6b78d715 /src/shutdown-dialog.vala
parent81c3c04dec4d3ad94fc8f8e46af448aeb3699c75 (diff)
parent9153eef0511a125ce769049d8a000977a02698a6 (diff)
downloadarctica-greeter-65ccc9ad9f8fa6186851b3e33a2747527355dae9.tar.gz
arctica-greeter-65ccc9ad9f8fa6186851b3e33a2747527355dae9.tar.bz2
arctica-greeter-65ccc9ad9f8fa6186851b3e33a2747527355dae9.zip
Merge branch 'tari01-pr/size-position-fix'
Attributes GH PR #115: https://github.com/ArcticaProject/arctica-greeter/pull/115
Diffstat (limited to 'src/shutdown-dialog.vala')
-rw-r--r--src/shutdown-dialog.vala5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/shutdown-dialog.vala b/src/shutdown-dialog.vala
index d243188..ec565b9 100644
--- a/src/shutdown-dialog.vala
+++ b/src/shutdown-dialog.vala
@@ -2,7 +2,7 @@
*
* Copyright (C) 2013 Canonical Ltd
* Copyright (C) 2015,2016 Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
- * Copyright (C) 2023 Robert Tari
+ * Copyright (C) 2023-2025 Robert Tari
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3 as
@@ -306,7 +306,8 @@ public class ShutdownDialog : Gtk.Fixed
var focused = pWindow.get_focus ();
if ((null != focused) && (focused is DialogButton))
{
- (focused as DialogButton).clicked ();
+ DialogButton pButton = (DialogButton) focused;
+ pButton.clicked ();
}
--default_action_time_supplemental;