aboutsummaryrefslogtreecommitdiff
path: root/src/mpris2-controller.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mpris2-controller.c')
-rw-r--r--src/mpris2-controller.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/mpris2-controller.c b/src/mpris2-controller.c
index ac90fc4..ced6bdb 100644
--- a/src/mpris2-controller.c
+++ b/src/mpris2-controller.c
@@ -1,4 +1,4 @@
-/* mpris2-controller.c generated by valac 0.9.8, the Vala compiler
+/* mpris2-controller.c generated by valac 0.10.0, the Vala compiler
* generated from mpris2-controller.vala, do not modify */
/*
@@ -4571,10 +4571,6 @@ static TransportMenuitemstate mpris2_controller_determine_play_state (Mpris2Cont
gboolean _tmp0_ = FALSE;
g_return_val_if_fail (self != NULL, 0);
g_return_val_if_fail (status != NULL, 0);
- if (status == NULL) {
- result = TRANSPORT_MENUITEM_STATE_PAUSED;
- return result;
- }
if (status != NULL) {
_tmp0_ = _vala_strcmp0 (status, "Playing") == 0;
} else {
@@ -4618,7 +4614,7 @@ void mpris2_controller_initial_update (Mpris2Controller* self) {
void mpris2_controller_transport_update (Mpris2Controller* self, TransportMenuitemaction command) {
g_return_if_fail (self != NULL);
- g_debug ("mpris2-controller.vala:165: transport_event input = %i", (gint) command);
+ g_debug ("mpris2-controller.vala:162: transport_event input = %i", (gint) command);
if (command == TRANSPORT_MENUITEM_ACTION_PLAY_PAUSE) {
mpris_player_PlayPause (self->priv->_player, NULL, NULL);
} else {