diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-06-28 15:58:32 -0400 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-06-28 15:58:32 -0400 |
commit | a1bb4f83f6da959ede2c7e486d26304c63cfae40 (patch) | |
tree | 27d8923ede07dd78c33065659ede358d6f0b38fe /src/media-player-list.vala | |
parent | 040e9977f7b83221c85d8b279d9537ad46303e20 (diff) | |
download | ayatana-indicator-sound-a1bb4f83f6da959ede2c7e486d26304c63cfae40.tar.gz ayatana-indicator-sound-a1bb4f83f6da959ede2c7e486d26304c63cfae40.tar.bz2 ayatana-indicator-sound-a1bb4f83f6da959ede2c7e486d26304c63cfae40.zip |
media-player-list, mpris2-watcher: remove unneded `public` from methods
Diffstat (limited to 'src/media-player-list.vala')
-rw-r--r-- | src/media-player-list.vala | 4 |
1 files changed, 2 insertions, 2 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) { |