Diff between 6744685410fbf393e849f678cac6c6f81f6843bb and a7a73c508cd686932aeab1bfd4d3448c6895b8dd

Changed Files

File Additions Deletions Status
profiles/audio/player.c +3 -3 modified

Full Patch

diff --git a/profiles/audio/player.c b/profiles/audio/player.c
index c76352e..3cfe679 100644
--- a/profiles/audio/player.c
+++ b/profiles/audio/player.c
@@ -393,7 +393,7 @@ static gboolean browsable_exists(const GDBusPropertyTable *property, void *data)
 {
 	struct media_player *mp = data;
 
-	return mp->scope != NULL;
+	return mp->folder != NULL;
 }
 
 static gboolean get_browsable(const GDBusPropertyTable *property,
@@ -402,7 +402,7 @@ static gboolean get_browsable(const GDBusPropertyTable *property,
 	struct media_player *mp = data;
 	dbus_bool_t value;
 
-	if (mp->scope == NULL)
+	if (mp->folder == NULL)
 		return FALSE;
 
 	DBG("%s", mp->browsable ? "true" : "false");
@@ -419,7 +419,7 @@ static gboolean searchable_exists(const GDBusPropertyTable *property,
 {
 	struct media_player *mp = data;
 
-	return mp->scope != NULL;
+	return mp->folder != NULL;
 }
 
 static gboolean get_searchable(const GDBusPropertyTable *property,