+
Skip to content

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
@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

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载