File tree 1 file changed +3
-3
lines changed
src/controlCenter/widgets/mpris
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ namespace SwayNotificationCenter.Widgets.Mpris {
105
105
if (blacklist != null ) {
106
106
mpris_config. blacklist = new string [blacklist. get_length ()];
107
107
for (int i = 0 ; i < blacklist. get_length (); i++ ) {
108
- if (blacklist. get_element (i). get_node_type () != Json . NodeType . VALUE ) {
108
+ if (blacklist. get_element (i). get_node_type () != Json . NodeType . VALUE ) {
109
109
warning (" Blacklist entries should be strings" );
110
110
continue ;
111
111
}
@@ -187,7 +187,7 @@ namespace SwayNotificationCenter.Widgets.Mpris {
187
187
string [] names = dbus_iface. list_names ();
188
188
foreach (string name in names) {
189
189
if (! name. has_prefix (MPRIS_PREFIX )) continue ;
190
- if (is_blacklisted(name)) continue ;
190
+ if (is_blacklisted (name)) continue ;
191
191
if (check_player_exists (name)) return ;
192
192
MprisSource ? source = MprisSource . get_player (name);
193
193
if (source != null ) add_player (name, source);
@@ -199,7 +199,7 @@ namespace SwayNotificationCenter.Widgets.Mpris {
199
199
remove_player (name);
200
200
return ;
201
201
}
202
- if (is_blacklisted(name)) return ;
202
+ if (is_blacklisted (name)) return ;
203
203
if (check_player_exists (name)) return ;
204
204
MprisSource ? source = MprisSource . get_player (name);
205
205
if (source != null ) add_player (name, source);
You can’t perform that action at this time.
0 commit comments