summaryrefslogtreecommitdiffstats
path: root/mpd-notification.c
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2015-07-09 16:45:10 +0200
committerGravatar Christian Hesse <mail@eworm.de>2015-07-09 16:45:10 +0200
commitd603590d744cfc4ee0305244e9447e61c43c400d (patch)
tree95582e2f06e812f5e8a87c50bcacab5473670a13 /mpd-notification.c
parenta9e365e1d6fab83f7557499e45b0e06291de0240 (diff)
downloadmpd-notification-d603590d744cfc4ee0305244e9447e61c43c400d.tar.gz
mpd-notification-d603590d744cfc4ee0305244e9447e61c43c400d.tar.zst
rename define after icon name
Diffstat (limited to 'mpd-notification.c')
-rw-r--r--mpd-notification.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mpd-notification.c b/mpd-notification.c
index 5bbffa5..0194607 100644
--- a/mpd-notification.c
+++ b/mpd-notification.c
@@ -277,9 +277,9 @@ int main(int argc, char ** argv) {
notification =
# if NOTIFY_CHECK_VERSION(0, 7, 0)
- notify_notification_new(TEXT_TOPIC, TEXT_NONE, ICON_SOUND);
+ notify_notification_new(TEXT_TOPIC, TEXT_NONE, ICON_AUDIO_X_GENERIC);
# else
- notify_notification_new(TEXT_TOPIC, TEXT_NONE, ICON_SOUND, NULL);
+ notify_notification_new(TEXT_TOPIC, TEXT_NONE, ICON_AUDIO_X_GENERIC, NULL);
# endif
notify_notification_set_category(notification, PROGNAME);
notify_notification_set_urgency (notification, NOTIFY_URGENCY_NORMAL);
@@ -343,7 +343,7 @@ int main(int argc, char ** argv) {
if (verbose > 0)
printf("%s: %s\n", program, notifystr);
- notify_notification_update(notification, TEXT_TOPIC, notifystr, icon ? icon : ICON_SOUND);
+ notify_notification_update(notification, TEXT_TOPIC, notifystr, icon ? icon : ICON_AUDIO_X_GENERIC);
if (pixbuf != NULL)
notify_notification_set_image_from_pixbuf(notification, pixbuf);