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 | |
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')
-rw-r--r-- | src/media-player-list.vala | 4 | ||||
-rw-r--r-- | src/mpris2-watcher.vala | 4 |
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; |