aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-18 23:35:12 +0200
committerMax Kellermann <max@duempel.org>2008-09-18 23:35:12 +0200
commit5fa6d11cc8b1a22456ec90416089e2f40a9f1763 (patch)
treeedd75a1554908b4618073ed4a196b6148ab2b11b /src/screen.c
parent479c19084abdafb4fbc4217c5664f6d1ab65e12e (diff)
downloadmpd-5fa6d11cc8b1a22456ec90416089e2f40a9f1763.tar.gz
mpd-5fa6d11cc8b1a22456ec90416089e2f40a9f1763.tar.xz
mpd-5fa6d11cc8b1a22456ec90416089e2f40a9f1763.zip
removed the clock screen
Why should an audio player display a large clock?
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/screen.c b/src/screen.c
index 62781fb8a..e510b1682 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -43,7 +43,6 @@
#define SCREEN_ARTIST_ID 2
#define SCREEN_HELP_ID 100
#define SCREEN_KEYDEF_ID 101
-#define SCREEN_CLOCK_ID 102
#define SCREEN_SEARCH_ID 103
#define SCREEN_LYRICS_ID 104
@@ -62,9 +61,6 @@ extern const struct screen_functions screen_search;
#ifdef ENABLE_KEYDEF_SCREEN
extern const struct screen_functions screen_keydef;
#endif
-#ifdef ENABLE_CLOCK_SCREEN
-extern const struct screen_functions screen_clock;
-#endif
extern const struct screen_functions screen_lyrics;
typedef struct screen_functions * (*screen_get_mode_functions_fn_t) (void);
@@ -87,9 +83,6 @@ static const struct
#ifdef ENABLE_KEYDEF_SCREEN
{ SCREEN_KEYDEF_ID, "keydef", &screen_keydef },
#endif
-#ifdef ENABLE_CLOCK_SCREEN
- { SCREEN_CLOCK_ID, "clock", &screen_clock },
-#endif
#ifdef ENABLE_LYRICS_SCREEN
{ SCREEN_LYRICS_ID, "lyrics", &screen_lyrics },
#endif
@@ -950,9 +943,6 @@ screen_cmd(mpdclient_t *c, command_t cmd)
case CMD_SCREEN_KEYDEF:
switch_screen_mode(SCREEN_KEYDEF_ID, c);
break;
- case CMD_SCREEN_CLOCK:
- switch_screen_mode(SCREEN_CLOCK_ID, c);
- break;
case CMD_SCREEN_LYRICS:
switch_screen_mode(SCREEN_LYRICS_ID, c);
break;