holylobster / nuntius-linux

Nuntius delivers notifications from your phone or tablet to your computer
GNU General Public License v2.0
216 stars 25 forks source link

vala 0.42.0 does not allow to set a default with a custom get accessor #79

Closed aerostitch closed 5 years ago

aerostitch commented 5 years ago

Hi,

When building with vala 0.42.0, we get the following error (resulting in a build failure):

src/notification.vala:35.5-35.20: error: Property `Nuntius.Notification.read' with custom `get' accessor and/or `set' mutator cannot have `default' value
    public bool read {
    ^^^^^^^^^^^^^^^^

The change in the vala compiler behavior is brought with commit https://github.com/GNOME/vala/commit/0d396f7daaf34596b159380b8ee2a57799ac9336

This change fixes the issue.

Debian bug reference: https://bugs.debian.org/907936

Joseph