diff options
author | Aylur <[email protected]> | 2024-08-04 03:50:34 +0200 |
---|---|---|
committer | Aylur <[email protected]> | 2024-08-04 03:50:34 +0200 |
commit | 995098bbc7635a4e2b90ce07b1fb42dbab8a563c (patch) | |
tree | 274158dffcef706617daf9a4109a95d551c6cc8c | |
parent | 48533788f6ab018ee3dfd8d59caeb6bc8bbec989 (diff) |
fix: enums
for some reason in gjs I experience Playing and Paused being 0
-rw-r--r-- | src/player.vala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/player.vala b/src/player.vala index e2d639c..ed146f6 100644 --- a/src/player.vala +++ b/src/player.vala @@ -382,7 +382,7 @@ public class Player : Object { } public enum PlaybackStatus { - PLAYING = 0, + PLAYING, PAUSED, STOPPED; @@ -412,7 +412,7 @@ public enum PlaybackStatus { } public enum Loop { - UNSUPPORTED = 0, + UNSUPPORTED, NONE, TRACK, PLAYLIST; @@ -445,7 +445,7 @@ public enum Loop { } public enum Shuffle { - UNSUPPORTED = 0, + UNSUPPORTED, ON, OFF; |