diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/sound-service-dbus.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sound-service-dbus.c b/src/sound-service-dbus.c index 9be39c7..b493ce8 100644 --- a/src/sound-service-dbus.c +++ b/src/sound-service-dbus.c @@ -295,6 +295,8 @@ static gboolean sound_service_dbus_blacklist_player (SoundServiceDbus* self, gchar* player_name, gboolean blacklist) { + g_return_val_if_fail (player_name != NULL, FALSE); + gboolean result = FALSE; GSettings* our_settings = NULL; our_settings = g_settings_new ("com.canonical.indicators.sound"); |