From e159643ede31d0e583d42d9ef46d0470cae75aa9 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Wed, 6 Aug 2014 15:13:49 +0300 Subject: [PATCH] audio/player: Reduce verbosity --- profiles/audio/player.c | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/profiles/audio/player.c b/profiles/audio/player.c index ac7481ac4..168e67705 100644 --- a/profiles/audio/player.c +++ b/profiles/audio/player.c @@ -192,8 +192,6 @@ static gboolean get_status(const GDBusPropertyTable *property, if (mp->status == NULL) return FALSE; - DBG("%s", mp->status); - dbus_message_iter_append_basic(iter, DBUS_TYPE_STRING, &mp->status); return TRUE; @@ -219,8 +217,6 @@ static gboolean get_setting(const GDBusPropertyTable *property, if (value == NULL) return FALSE; - DBG("%s %s", property->name, value); - dbus_message_iter_append_basic(iter, DBUS_TYPE_STRING, &value); return TRUE; @@ -338,8 +334,6 @@ static gboolean get_name(const GDBusPropertyTable *property, if (mp->name == NULL) return FALSE; - DBG("%s", mp->name); - dbus_message_iter_append_basic(iter, DBUS_TYPE_STRING, &mp->name); return TRUE; @@ -360,8 +354,6 @@ static gboolean get_type(const GDBusPropertyTable *property, if (mp->type == NULL) return FALSE; - DBG("%s", mp->type); - dbus_message_iter_append_basic(iter, DBUS_TYPE_STRING, &mp->type); return TRUE; @@ -382,8 +374,6 @@ static gboolean get_subtype(const GDBusPropertyTable *property, if (mp->subtype == NULL) return FALSE; - DBG("%s", mp->subtype); - dbus_message_iter_append_basic(iter, DBUS_TYPE_STRING, &mp->subtype); return TRUE; @@ -405,8 +395,6 @@ static gboolean get_browsable(const GDBusPropertyTable *property, if (mp->folder == NULL) return FALSE; - DBG("%s", mp->browsable ? "true" : "false"); - value = mp->browsable; dbus_message_iter_append_basic(iter, DBUS_TYPE_BOOLEAN, &value); @@ -431,8 +419,6 @@ static gboolean get_searchable(const GDBusPropertyTable *property, if (mp->folder == NULL) return FALSE; - DBG("%s", mp->searchable ? "true" : "false"); - value = mp->searchable; dbus_message_iter_append_basic(iter, DBUS_TYPE_BOOLEAN, &value); @@ -1495,8 +1481,6 @@ static gboolean get_player(const GDBusPropertyTable *property, { struct media_item *item = data; - DBG("%s", item->player->path); - dbus_message_iter_append_basic(iter, DBUS_TYPE_OBJECT_PATH, &item->player->path); @@ -1519,8 +1503,6 @@ static gboolean get_item_name(const GDBusPropertyTable *property, if (item->name == NULL) return FALSE; - DBG("%s", item->name); - dbus_message_iter_append_basic(iter, DBUS_TYPE_STRING, &item->name); return TRUE; @@ -1548,8 +1530,6 @@ static gboolean get_item_type(const GDBusPropertyTable *property, string = type_to_string(item->type); - DBG("%s", string); - dbus_message_iter_append_basic(iter, DBUS_TYPE_STRING, &string); return TRUE; @@ -1561,8 +1541,6 @@ static gboolean get_playable(const GDBusPropertyTable *property, struct media_item *item = data; dbus_bool_t value; - DBG("%s", item->playable ? "true" : "false"); - value = item->playable; dbus_message_iter_append_basic(iter, DBUS_TYPE_BOOLEAN, &value); @@ -1610,8 +1588,6 @@ static gboolean get_folder_type(const GDBusPropertyTable *property, if (string == NULL) return FALSE; - DBG("%s", string); - dbus_message_iter_append_basic(iter, DBUS_TYPE_STRING, &string); return TRUE; -- 2.47.3