aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-11-21 11:05:12 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-12-02 19:47:11 +0100
commit7ceaa0539bd3ed9e541bea5369abfa7f6bc636f7 (patch)
treea1cdf48d50aeb746e45ab09d196508e7a4ca4c02 /src
parent72f06dd2cd7790e3257c935f04d9c55fca144604 (diff)
downloadayatana-indicator-sound-7ceaa0539bd3ed9e541bea5369abfa7f6bc636f7.tar.gz
ayatana-indicator-sound-7ceaa0539bd3ed9e541bea5369abfa7f6bc636f7.tar.bz2
ayatana-indicator-sound-7ceaa0539bd3ed9e541bea5369abfa7f6bc636f7.zip
Fix several 'Creation method of abstract class cannot be public.' Vala issues.
Diffstat (limited to 'src')
-rw-r--r--src/notification.vala2
-rw-r--r--src/volume-control.vala2
-rw-r--r--src/volume-warning.vala2
3 files changed, 3 insertions, 3 deletions
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;