diff options
author | Christian Hesse <mail@eworm.de> | 2014-09-30 01:41:41 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2014-09-30 01:41:41 +0200 |
commit | 1e637ea30c22473d8a0eff9ca2e1132606731043 (patch) | |
tree | 237614aab13a6c36c5bf077a4316026efb08ff2d | |
parent | 1a8009f4773c591717775c4a768ae61030c52453 (diff) | |
download | mpd-notification-1e637ea30c22473d8a0eff9ca2e1132606731043.tar.gz mpd-notification-1e637ea30c22473d8a0eff9ca2e1132606731043.tar.zst |
move NOTIFICATION_TIMEOUT to config.def.h
-rw-r--r-- | config.def.h | 3 | ||||
-rw-r--r-- | 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); |