-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
data
parameter for gio::content_type_guess
should be an Option
#1133
Comments
Seems like |
Yep, I managed to track it down to this line. Not sure if it's safe to remove completely or if it needs to be smarter, though. |
It should almost work, but in addition you will also need to carry through the nullability in Want to give it a try? |
Co-authored-by: Andy Russell <[email protected]> Fixes #1133
According to the documentation,
NULL
is a valid value for thedata
parameter ofg_content_type_guess
. However, the Rust bindings type it as&[u8]
, making it impossible to pass a null value.The text was updated successfully, but these errors were encountered: