Cleaning up compilation warnings
[moonshot-ui.git] / src / moonshot-custom-vbox.vala
index 49f0a6a..9a690ec 100644 (file)
@@ -67,7 +67,7 @@ class CustomVBox : VBox
         id_card_widget.position = next_pos++;
     }
 
-    public IdCardWidget find_idcard_widget(IdCard id_card) {
+    public IdCardWidget? find_idcard_widget(IdCard id_card) {
         foreach (var w in get_children()) {
             IdCardWidget widget = (IdCardWidget) w;
             if (widget.id_card.nai == id_card.nai) {