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

Gnome sdk 46 #1052

Merged
merged 6 commits into from
May 3, 2024
Merged

Gnome sdk 46 #1052

merged 6 commits into from
May 3, 2024

Conversation

badcel
Copy link
Member

@badcel badcel commented Apr 24, 2024

  • I agree that my contribution may be licensed either under MIT or any version of LGPL license.

Fixes: #1051

badcel added 6 commits April 24, 2024 20:07
This is needed as GLib APIs are using GObject.Type. It was working before GNOME SDK 46 because GLib gir defined the GType alias in addition to the GObject gir file.

This resulted in 2 GType definitions, which was not optimal, too.

As the alias for GType in GLib got removed this commit moves the GObject.Type into the GLib project so it is available inside GLib and for all dependent projects.
This is just calling "OwnedCopy" instead of calling an additional "Ref". During runtime this change has not changed the behavior of this class.
This got necessary because the return type ownership transfer annotations switched from "full" to "none".
@badcel badcel marked this pull request as ready for review May 3, 2024 19:47
@badcel badcel merged commit d4d79e2 into main May 3, 2024
3 checks passed
@badcel badcel deleted the gnome-sdk-46 branch May 3, 2024 19:47
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.

Update to GNOME SDK 46
1 participant