-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
Regenerate with latest gir-files #1544
Conversation
86bc2c9
to
b3255cb
Compare
fn startup_notify_id(&self, info: &impl IsA<AppInfo>, files: &[File]) -> Option<glib::GString> { | ||
fn startup_notify_id( | ||
&self, | ||
info: Option<&impl IsA<AppInfo>>, |
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.
Breaking change but as we discussed we'd backport these now because of correctness
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.
Yep, it would be nice to backport it actually as it blocks some work we have in ashpd :)
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.
Will do
@@ -17313,7 +17321,21 @@ extern "C" { | |||
pub fn g_unix_mount_is_system_internal(mount_entry: *mut GUnixMountEntry) -> gboolean; | |||
pub fn g_unix_mount_points_changed_since(time: u64) -> gboolean; | |||
pub fn g_unix_mount_points_get(time_read: *mut u64) -> *mut glib::GList; | |||
#[cfg(feature = "v2_82")] | |||
#[cfg_attr(docsrs, doc(cfg(feature = "v2_82")))] | |||
pub fn g_unix_mount_points_get_from_file( |
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.
This needs to be conditional for non-Windows
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.
Hm we don't do that for any others so it probably doesn't matter after all
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.
Shouldn't those be in the gio-unix gi file nowadays anyway?
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.
I think that was not done for backwards compatibility reasons
pub fn g_unix_mounts_changed_since(time: u64) -> gboolean; | ||
pub fn g_unix_mounts_get(time_read: *mut u64) -> *mut glib::GList; | ||
#[cfg(feature = "v2_82")] | ||
#[cfg_attr(docsrs, doc(cfg(feature = "v2_82")))] | ||
pub fn g_unix_mounts_get_from_file( |
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.
This needs to be conditional for non-Windows
No description provided.