aboutsummaryrefslogtreecommitdiff
path: root/src/media-player-list-mpris.vala
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-03-09 00:18:15 +0100
committerRobert Tari <robert@tari.in>2021-08-04 21:57:11 +0200
commit3548d2023ad0e23ac43e607ef7d2293bae97e2c6 (patch)
treed0b7efe05836b34b7b2a0986f53ce7313969616a /src/media-player-list-mpris.vala
parent41a2d5888d4d7a0c5a3bcb42577700c878bcb4da (diff)
downloadayatana-indicator-sound-3548d2023ad0e23ac43e607ef7d2293bae97e2c6.tar.gz
ayatana-indicator-sound-3548d2023ad0e23ac43e607ef7d2293bae97e2c6.tar.bz2
ayatana-indicator-sound-3548d2023ad0e23ac43e607ef7d2293bae97e2c6.zip
src/media-player-list-mpris.vala: Replace HashTable with GenericSet
Diffstat (limited to 'src/media-player-list-mpris.vala')
-rw-r--r--src/media-player-list-mpris.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/media-player-list-mpris.vala b/src/media-player-list-mpris.vala
index cff4011..464bd64 100644
--- a/src/media-player-list-mpris.vala
+++ b/src/media-player-list-mpris.vala
@@ -94,7 +94,7 @@ public class MediaPlayerListMpris : MediaPlayerList {
public override void sync (string[] desktop_ids) {
/* hash desktop_ids for faster lookup */
- var hash = new HashTable<string, unowned string> (str_hash, str_equal);
+ var hash = new GenericSet<string> (str_hash, str_equal);
foreach (var id in desktop_ids)
hash.add (id);