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 properties/async attributes support #1425

Closed
wants to merge 2 commits into from

Conversation

bilelmoussaoui
Copy link
Member

No description provided.

@sdroege
Copy link
Member

sdroege commented Jun 8, 2024

This is still waiting on the gir file update, right?

@bilelmoussaoui
Copy link
Member Author

Yes, should trigger an update of the gir files and see if that landed already

@sdroege
Copy link
Member

sdroege commented Jun 11, 2024

This can be regenerated now

@bilelmoussaoui bilelmoussaoui force-pushed the bilelmoussaoui/regen-2 branch from 08a64c7 to 0d16003 Compare June 11, 2024 15:56
}
//#[cfg(feature = "v2_82")]
//#[cfg_attr(docsrs, doc(cfg(feature = "v2_82")))]
//#[doc(alias = "g_file_copy_async_with_closures")]
Copy link
Member Author

Choose a reason for hiding this comment

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

The fix for this still hasn't landed on the gir file? cc @A6GibKm

Copy link
Contributor

Choose a reason for hiding this comment

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

https://gitlab.gnome.org/GNOME/glib/-/merge_requests/4099 I think it is only in main, I don't think I have updated this gir file on gir-files.

Copy link
Contributor

Choose a reason for hiding this comment

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

Latest update to the gir at gir-files was 2 weeks ago, patch was merged a week ago, so no, it is not in there.

Copy link
Member Author

Choose a reason for hiding this comment

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

I see it here <method name="copy_async_with_closures" c:identifier="g_file_copy_async_with_closures" shadows="copy_async" version="2.82" glib:finish-func="copy_finish">

Copy link
Member Author

Choose a reason for hiding this comment

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

From a quick look, it seems like the finish-func annotation is wrongly set in that function. It probably needs a manual implementation to turn it into a future instead of still using closures.

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

@bilelmoussaoui can you ping ebassi about that? Would be good to get this in to not have this PR bitrot

@sdroege sdroege added this to the 0.20 milestone Jun 18, 2024
@sdroege
Copy link
Member

sdroege commented Jun 18, 2024

This here also updates gir-files. So that's still needed

@sdroege sdroege closed this Jun 26, 2024
@sdroege sdroege deleted the bilelmoussaoui/regen-2 branch June 26, 2024 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants