diff options
author | Christian Hesse <mail@eworm.de> | 2013-08-08 09:27:53 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2013-08-08 09:27:53 +0200 |
commit | 703b06e77b88b14ffcf962de040c4ebce5821b53 (patch) | |
tree | be35fe6c5f1508730d6b6454345f8acd9bcdbe7b | |
parent | 389c123beb48dab2c8a179b86e4f697b6bbd6c4d (diff) | |
download | mpd-notification-0.4.2.tar.gz mpd-notification-0.4.2.tar.zst |
indent includes0.4.2
-rw-r--r-- | mpd-notification.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/mpd-notification.c b/mpd-notification.c index 6ce248b..9202513 100644 --- a/mpd-notification.c +++ b/mpd-notification.c @@ -32,9 +32,9 @@ int main(int argc, char ** argv) { struct mpd_song * song = NULL; printf("%s: %s v%s (compiled: " __DATE__ ", " __TIME__ -#if DEBUG +# if DEBUG ", with debug output" -#endif +# endif ")\n", argv[0], PROGNAME, VERSION); conn = mpd_connection_new(NULL, 0, 30000); @@ -51,11 +51,11 @@ int main(int argc, char ** argv) { } notification = -#if NOTIFY_CHECK_VERSION(0, 7, 0) +# if NOTIFY_CHECK_VERSION(0, 7, 0) notify_notification_new(TEXT_TOPIC, NULL, ICON_SOUND); -#else +# else notify_notification_new(TEXT_TOPIC, NULL, ICON_SOUND, NULL); -#endif +# endif notify_notification_set_category(notification, PROGNAME); notify_notification_set_urgency (notification, NOTIFY_URGENCY_NORMAL); @@ -89,9 +89,9 @@ int main(int argc, char ** argv) { else notifystr = TEXT_UNKNOWN; -#if DEBUG +# if DEBUG printf("%s: %s\n", argv[0], notifystr); -#endif +# endif notify_notification_update(notification, TEXT_TOPIC, notifystr, ICON_SOUND); |