diff options
author | Ken VanDine <ken.vandine@canonical.com> | 2010-10-07 10:08:18 -0400 |
---|---|---|
committer | Ken VanDine <ken.vandine@canonical.com> | 2010-10-07 10:08:18 -0400 |
commit | aeb17c8f7825a68e367c50421f89695d41fcd5fb (patch) | |
tree | a8bbd335136def8b8096d37129fd7ac798b5ddcd /src/mpris2-controller.c | |
parent | 7695b78d05fd79ad7581d82b1f5ad171529e19e0 (diff) | |
parent | 7ea2deb67919da59bbeab00e3b4e244c8395ff58 (diff) | |
download | ayatana-indicator-sound-aeb17c8f7825a68e367c50421f89695d41fcd5fb.tar.gz ayatana-indicator-sound-aeb17c8f7825a68e367c50421f89695d41fcd5fb.tar.bz2 ayatana-indicator-sound-aeb17c8f7825a68e367c50421f89695d41fcd5fb.zip |
Import upstream version 0.4.8
Diffstat (limited to 'src/mpris2-controller.c')
-rw-r--r-- | src/mpris2-controller.c | 8 |
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 { |