Skip to content

Commit f6219e0

Browse files
committed
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.
1 parent cc3401b commit f6219e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Views/CheckView.vala

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public class Installer.CheckView : AbstractInstallerView {
2828
private Gtk.Box message_box;
2929
public bool has_messages {
3030
get {
31-
return message_box.get_first_child != null;
31+
return message_box.get_first_child () != null;
3232
}
3333
}
3434

0 commit comments

Comments
 (0)