From 7ceaa0539bd3ed9e541bea5369abfa7f6bc636f7 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Thu, 21 Nov 2019 11:05:12 +0100 Subject: Fix several 'Creation method of abstract class cannot be public.' Vala issues. --- src/notification.vala | 2 +- src/volume-control.vala | 2 +- src/volume-warning.vala | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/notification.vala b/src/notification.vala index 3a3060f..ab944e2 100644 --- a/src/notification.vala +++ b/src/notification.vala @@ -19,7 +19,7 @@ public abstract class IndicatorSound.Notification: Object { - public Notification () { + internal Notification () { BusWatcher.watch_namespace ( GLib.BusType.SESSION, "org.freedesktop.Notifications", diff --git a/src/volume-control.vala b/src/volume-control.vala index 3d02f70..56a10a4 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) { + internal VolumeControl(IndicatorSound.Options options) { _options = options; } diff --git a/src/volume-warning.vala b/src/volume-warning.vala index 203cb91..659240b 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) { + internal VolumeWarning (IndicatorSound.Options options) { _options = options; -- cgit v1.2.3