aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/media-player-list.vala4
-rw-r--r--src/mpris2-watcher.vala4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/media-player-list.vala b/src/media-player-list.vala
index 6d37b4d..6eb5fc9 100644
--- a/src/media-player-list.vala
+++ b/src/media-player-list.vala
@@ -56,7 +56,7 @@ public class MediaPlayerList {
/**
* Adds the player associated with @desktop_id. Does nothing if such a player already exists.
*/
- public MediaPlayer? insert (string desktop_id) {
+ MediaPlayer? insert (string desktop_id) {
var id = desktop_id.has_suffix (".desktop") ? desktop_id : desktop_id + ".desktop";
MediaPlayer? player = this._players.lookup (id);
@@ -78,7 +78,7 @@ public class MediaPlayerList {
/**
* Removes the player associated with @desktop_id, unless it is currently running.
*/
- public void remove (string desktop_id) {
+ void remove (string desktop_id) {
MediaPlayer? player = this._players.lookup (desktop_id);
if (player != null && !player.is_running) {
diff --git a/src/mpris2-watcher.vala b/src/mpris2-watcher.vala
index 740089d..4a1ab6e 100644
--- a/src/mpris2-watcher.vala
+++ b/src/mpris2-watcher.vala
@@ -69,7 +69,7 @@ public class Mpris2Watcher : GLib.Object
// At startup check to see if there are clients up that we are interested in
// More relevant for development and daemon's like mpd.
- public async void check_for_active_clients()
+ async void check_for_active_clients()
{
Variant interfaces;
@@ -99,7 +99,7 @@ public class Mpris2Watcher : GLib.Object
}
}
- public void name_owner_changed (DBusConnection con, string sender, string object_path,
+ void name_owner_changed (DBusConnection con, string sender, string object_path,
string interface_name, string signal_name, Variant parameters)
{
string name, previous_owner, current_owner;