mi-info: mark nullable parameters as such

This commit is contained in:
Stefan Sauer 2013-09-25 07:58:49 +02:00
parent 299d1c8b88
commit 0b893509b8

View file

@ -719,7 +719,7 @@ public class MediaInfo.Info : Box
table.attach (label, 1, 2, row, row+1, fill_exp, 0, 3, 1); table.attach (label, 1, 2, row, row+1, fill_exp, 0, 3, 1);
} }
private void add_table_row_for_string (Table table, uint row, string title, string str) { private void add_table_row_for_string (Table table, uint row, string title, string? str) {
AttachOptions fill = AttachOptions.FILL; AttachOptions fill = AttachOptions.FILL;
AttachOptions fill_exp = AttachOptions.EXPAND|AttachOptions.FILL; AttachOptions fill_exp = AttachOptions.EXPAND|AttachOptions.FILL;
@ -732,7 +732,7 @@ public class MediaInfo.Info : Box
table.attach (label, 1, 2, row, row+1, fill_exp, 0, 3, 1); table.attach (label, 1, 2, row, row+1, fill_exp, 0, 3, 1);
} }
private bool add_table_row_for_structure (Table table, uint row, Structure s) { private bool add_table_row_for_structure (Table table, uint row, Structure? s) {
if (s == null) if (s == null)
return false; return false;
@ -750,7 +750,7 @@ public class MediaInfo.Info : Box
return true; return true;
} }
private bool add_table_row_for_taglist (Table table, uint row, TagList t) { private bool add_table_row_for_taglist (Table table, uint row, TagList? t) {
if (t == null) if (t == null)
return false; return false;