Skip to content

Commit

Permalink
CheckView: Actually check if a children is there
Browse files Browse the repository at this point in the history
message_box.get_first_child without parenthesis is the address of the function
and therefore will never be null.
  • Loading branch information
tintou committed Oct 14, 2024
1 parent cc3401b commit f6219e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Views/CheckView.vala
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit f6219e0

Please sign in to comment.