From 1e637ea30c22473d8a0eff9ca2e1132606731043 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 30 Sep 2014 01:41:41 +0200 Subject: move NOTIFICATION_TIMEOUT to config.def.h --- config.def.h | 3 +++ mpd-notification.h | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config.def.h b/config.def.h index 65e7c33..8d7f8ea 100644 --- a/config.def.h +++ b/config.def.h @@ -8,6 +8,9 @@ #ifndef _CONFIG_H #define _CONFIG_H +/* how long to display notifications */ +#define NOTIFICATION_TIMEOUT 10000 + /* name of the icon used for notifications */ #define ICON_SOUND "sound" diff --git a/mpd-notification.h b/mpd-notification.h index c618f68..7ff485c 100644 --- a/mpd-notification.h +++ b/mpd-notification.h @@ -25,8 +25,6 @@ #define PROGNAME "mpd-notification" -#define NOTIFICATION_TIMEOUT 10000 - /*** received_signal ***/ void received_signal(int signal); -- cgit v1.2.3-70-g09d2