`GLib.TestSuite` is a special type of object, as it doesn't actually
have an associated copy function or a reference/unreference function.
In practice, that actually means there's no way to actually have 2
strong references to such an object, or to copy it somehow. Due to the
way GObject properties in Vala work, that means you can't really use
them either.
Ever since vala commit 5f0a146f65, this got reflected properly in the
internally maintained GLib VAPI (as people were experiencing double
frees otherwise), but it was added only conditionally for GLib 2.70 or
later. In practice, that means you only get vala compiler issues if you
(impliclty) set `--target-glib=2.70` (or a later version).
To fix this for vala-unit and our own Geary tests, this commit changes
the `ValaUnit.TestCase` class to only allow "stealing" the strong
reference to the `GLib.TestSuite`, rather than somehowing allowing
people to hold a weak reference, and by also making it a protected field
rather than a property.
Since this changes the API of ValaUnit, we also bump the version. In
general though, I hope people aren't using ValaUnit externally, since
these types of API/ABI breaks can happen with Vala libraries.
Link:
|
||
|---|---|---|
| .gitlab/issue_templates | ||
| bindings/vapi | ||
| build-aux | ||
| desktop | ||
| help | ||
| icons | ||
| po | ||
| sql | ||
| src | ||
| subprojects | ||
| test | ||
| ui | ||
| .editorconfig | ||
| .gitattributes | ||
| .gitlab-ci.yml | ||
| AUTHORS | ||
| BUILDING.md | ||
| code-of-conduct.md | ||
| CONTRIBUTING.md | ||
| COPYING | ||
| COPYING.icons | ||
| COPYING.pyyaml | ||
| geary.doap | ||
| meson.build | ||
| meson_options.txt | ||
| NEWS | ||
| org.gnome.Geary.json | ||
| README.md | ||
| THANKS | ||
Geary: Send and receive email
Geary is an email application built around conversations, for the GNOME desktop. It allows you to read, find and send email with a straight-forward, modern interface.
Visit https://wiki.gnome.org/Apps/Geary for more information.
GitHub users please note: Bug reports, code contributions and translations are managed using GNOME's infrastructure, so we cannot accept tickets or pull requests on GitHub. Please see the links below for more information.
Building & Licensing
Please consult the BUILDING.md and COPYING files for more information about building Geary and the licence granted by its copyright holders for redistribution.
Getting in Touch
- Geary wiki: https://wiki.gnome.org/Apps/Geary
- Support and discussion: See the
gearytag on GNOME Discourse - Matrix channel: #geary:gnome.org
Code Of Conduct
We follow the Contributor Covenant as our Code of Conduct. All communications in project spaces are expected to adhere to it.
Contributing to Geary
Want to help improve Geary? Here are some ways to contribute:
- Bug reporting: https://wiki.gnome.org/Apps/Geary/ReportingABug
- Translating: https://wiki.gnome.org/Apps/Geary/Translating
- Development: https://wiki.gnome.org/Apps/Geary/Development
- Donate: https://wiki.gnome.org/Apps/Geary/Donate
Copyright © 2016 Software Freedom Conservancy Inc.
Copyright © 2017-2020 Michael Gratton mike@vee.net
