From bc15f7824e6f0dac30f8e80e4009f0f28f1182d2 Mon Sep 17 00:00:00 2001 From: Sergey Chupligin Date: Wed, 8 Jun 2022 12:22:45 +0300 Subject: [PATCH] Fixup build on vala 0.46 --- src/notification.vala | 2 +- src/volume-control.vala | 2 +- src/volume-warning.vala | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/notification.vala b/src/notification.vala index 3a3060fd..d08b63f2 100644 --- a/src/notification.vala +++ b/src/notification.vala @@ -19,7 +19,7 @@ public abstract class IndicatorSound.Notification: Object { - public Notification () { + protected Notification () { BusWatcher.watch_namespace ( GLib.BusType.SESSION, "org.freedesktop.Notifications", diff --git a/src/volume-control.vala b/src/volume-control.vala index 3d02f702..f8aa5e00 100644 --- a/src/volume-control.vala +++ b/src/volume-control.vala @@ -54,7 +54,7 @@ public abstract class VolumeControl : Object protected IndicatorSound.Options _options = null; - public VolumeControl(IndicatorSound.Options options) { + protected VolumeControl(IndicatorSound.Options options) { _options = options; } diff --git a/src/volume-warning.vala b/src/volume-warning.vala index b1cc5184..d240b3d0 100644 --- a/src/volume-warning.vala +++ b/src/volume-warning.vala @@ -44,7 +44,7 @@ public abstract class VolumeWarning : Object } } - public VolumeWarning (IndicatorSound.Options options) { + protected VolumeWarning (IndicatorSound.Options options) { _options = options;