In find_idcard_widget, allow for null IdCard to be passed
authorDan Breslau <dbreslau@painless-security.com>
Thu, 20 Oct 2016 19:39:46 +0000 (15:39 -0400)
committerDan Breslau <dbreslau@painless-security.com>
Thu, 20 Oct 2016 19:39:46 +0000 (15:39 -0400)
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;
         }