From 0dd348dd0e9afff369b05147f3489e8bc5acb022 Mon Sep 17 00:00:00 2001 From: Bruno Morais Date: Mon, 9 Sep 2019 13:36:45 -0400 Subject: [PATCH] de-uglify --- src/plugins/mpris/dbus.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/plugins/mpris/dbus.cpp b/src/plugins/mpris/dbus.cpp index b5c5267db..71e2a9eb2 100644 --- a/src/plugins/mpris/dbus.cpp +++ b/src/plugins/mpris/dbus.cpp @@ -290,13 +290,10 @@ const sd_bus_vtable musikcube_mpp_table[] = { SD_BUS_METHOD("Play", "", "", play_wrapper, 0), SD_BUS_METHOD("Seek", "x", "", seek_wrapper, 0), SD_BUS_PROPERTY("PlaybackStatus", "s", get_playback_status, 0, SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE), - SD_BUS_WRITABLE_PROPERTY("LoopStatus", "s", get_loop_status, set_loop_status, 0, - SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE), - SD_BUS_WRITABLE_PROPERTY("Shuffle", "b", get_shuffle_status, set_shuffle_status, 0, - SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE), + SD_BUS_WRITABLE_PROPERTY("LoopStatus", "s", get_loop_status, set_loop_status, 0, SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE), + SD_BUS_WRITABLE_PROPERTY("Shuffle", "b", get_shuffle_status, set_shuffle_status, 0, SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE), SD_BUS_PROPERTY("Position", "x", get_position, 0, 0), - SD_BUS_WRITABLE_PROPERTY("Volume", "d", get_volume, set_volume, - 0, SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE), + SD_BUS_WRITABLE_PROPERTY("Volume", "d", get_volume, set_volume, 0, SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE), SD_BUS_PROPERTY("Metadata", "a{sv}", get_metadata, 0, SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE), SD_BUS_PROPERTY("CanGoNext", "b", sd_response_true, 0, SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE), SD_BUS_PROPERTY("CanGoPrevious", "b", sd_response_true, 0, SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE),