-
-
Notifications
You must be signed in to change notification settings - Fork 127
Don't skip Option
for nullable collections
#1728
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
base: main
Are you sure you want to change the base?
Conversation
gio/src/auto/functions.rs
Outdated
@@ -181,9 +181,9 @@ pub fn content_type_get_symbolic_icon(type_: &str) -> Icon { | |||
#[doc(alias = "g_content_type_guess")] | |||
pub fn content_type_guess( | |||
filename: Option<impl AsRef<std::path::Path>>, | |||
data: &[u8], | |||
data: Option<&[u8]>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs rebasing as this is now manually implemented. Can be autogenerated again :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it was reverted because it is an api break
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was only reverted in the 0.20 branch. main still has it and should have it with the Option
.
Consequence of gtk-rs/gir#1622