From f6219e072c97de2c9a39b58a1a1f14480f0c2df5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Corentin=20No=C3=ABl?= Date: Mon, 14 Oct 2024 09:44:17 +0200 Subject: [PATCH] CheckView: Actually check if a children is there message_box.get_first_child without parenthesis is the address of the function and therefore will never be null. --- src/Views/CheckView.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Views/CheckView.vala b/src/Views/CheckView.vala index d2d23d34c..0c046e5fa 100644 --- a/src/Views/CheckView.vala +++ b/src/Views/CheckView.vala @@ -28,7 +28,7 @@ public class Installer.CheckView : AbstractInstallerView { private Gtk.Box message_box; public bool has_messages { get { - return message_box.get_first_child != null; + return message_box.get_first_child () != null; } }