Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

component: Mark relevant return types as nullable #204

Merged
merged 1 commit into from Oct 10, 2018

Commits on Oct 10, 2018

  1. component: Mark relevant return types as nullable

    These types are not marked as nullable in the resulting GIR file and hence not marked nullable in any bindings downstream of that; for example, the Vala bindings.
    
    Having these marked as nullable would allow more robust Vala code to be generated when these methods are used.
    
    This only touches Component for now in case there's some reasoning behind why these haven't been marked `nullable`, but I'm happy to submit a PR to cover off the rest if this is wanted.
    davidmhewitt committed Oct 10, 2018