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

Regenerate with latest gir-files #1544

Merged
merged 6 commits into from
Oct 18, 2024
Merged

Conversation

bilelmoussaoui
Copy link
Member

No description provided.

@bilelmoussaoui bilelmoussaoui merged commit f27194b into master Oct 18, 2024
48 checks passed
fn startup_notify_id(&self, info: &impl IsA<AppInfo>, files: &[File]) -> Option<glib::GString> {
fn startup_notify_id(
&self,
info: Option<&impl IsA<AppInfo>>,
Copy link
Member

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

Copy link
Member Author

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 :)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will do

@bilelmoussaoui bilelmoussaoui deleted the bilelmoussaoui/regen-gir-files branch October 19, 2024 14:10
@@ -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(
Copy link
Member

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

Copy link
Member

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

Copy link
Member Author

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?

Copy link
Member

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(
Copy link
Member

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

@sdroege sdroege added the needs-backport PR needs backporting to the current stable branch label Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-backport PR needs backporting to the current stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants