From: Max Kellermann Date: Sat, 3 Oct 2009 20:04:32 +0000 (+0200) Subject: screen: don't use/define "welcome" stuff in --enable-mini X-Git-Tag: release-0.16~181 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=21f8df3172c1b4d388183c33a6cb11ccf886627b;p=ncmpc.git screen: don't use/define "welcome" stuff in --enable-mini --- 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)