Closed yegorich closed 1 year ago
@mtwebster what do you think about this approach? There are also a lot of other cases with the cell
object.
The most strange thing is that even the official examples were made so that they produce such warnings :-(
I'd do what you've got here, if only because it's what I'd ordinarily do in C (vala's pretty frustrating for me)
Vala is frustrating for me too :-) I'll continue with fixing further occurrences.
Done
This approach resolves warnings like this:
Access to possible `null'. Perform a check or use an unsafe cast.