[totem] media-player-keys: Update for shuffle setting API removal



commit e3e870ddbce803d20fcfbf671470b128b724ee1c
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Jan 23 13:16:02 2014 +0100

    media-player-keys: Update for shuffle setting API removal

 .../media-player-keys/totem-media-player-keys.c    |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/src/plugins/media-player-keys/totem-media-player-keys.c 
b/src/plugins/media-player-keys/totem-media-player-keys.c
index 2d8dfec..8281ce5 100644
--- a/src/plugins/media-player-keys/totem-media-player-keys.c
+++ b/src/plugins/media-player-keys/totem-media-player-keys.c
@@ -79,11 +79,6 @@ on_media_player_key_pressed (TotemObject *totem,
 
                value = totem_object_remote_get_setting (totem, TOTEM_REMOTE_SETTING_REPEAT);
                totem_object_remote_set_setting (totem, TOTEM_REMOTE_SETTING_REPEAT, !value);
-       } else if (strcmp ("Shuffle", key) == 0) {
-               gboolean value;
-
-               value = totem_object_remote_get_setting (totem, TOTEM_REMOTE_SETTING_SHUFFLE);
-               totem_object_remote_set_setting (totem, TOTEM_REMOTE_SETTING_SHUFFLE, !value);
        }
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]