From 21f8df3172c1b4d388183c33a6cb11ccf886627b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 3 Oct 2009 22:04:32 +0200 Subject: [PATCH] screen: don't use/define "welcome" stuff in --enable-mini --- src/screen.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/screen.c b/src/screen.c index 81b7364..efbd37f 100644 --- a/src/screen.c +++ b/src/screen.c @@ -243,12 +243,15 @@ screen_resize(struct mpdclient *c) screen_paint(c); } +#ifndef NCMPC_MINI static gboolean welcome_timer_callback(gpointer data) { struct mpdclient *c = data; +#ifndef NCMPC_MINI screen.welcome_source_id = 0; +#endif paint_top_window(mode_fn->get_title != NULL ? mode_fn->get_title(screen.buf, screen.buf_size) @@ -258,6 +261,7 @@ welcome_timer_callback(gpointer data) return false; } +#endif void screen_init(struct mpdclient *c) -- 2.30.2