In find_idcard_widget, allow for null IdCard to be passed
[moonshot-ui.git] / src / moonshot-custom-vbox.vala
index 428c053..49942ee 100644 (file)
@@ -67,7 +67,7 @@ class CustomVBox : VBox
         id_card_widget.position = next_pos++;
     }
 
-    public IdCardWidget? find_idcard_widget(IdCard card) {
+    public IdCardWidget? find_idcard_widget(IdCard? card) {
         if (card == null) {
             return null;
         }