1 --- src/libawn-extras/notify.c
2 +++ src/libawn-extras/notify.c
4 expire_timeout=timeout;
6 notify_init("notify-send");
7 +#ifdef NOTIFY_CHECK_VERSION
8 +#if NOTIFY_CHECK_VERSION (0, 7, 0)
9 + notify = notify_notification_new(summary, body, icon_str);
11 notify = notify_notification_new(summary, body, icon_str, NULL);
14 + notify = notify_notification_new(summary, body, icon_str, NULL);
18 notify_notification_set_category(notify, type);
19 --- src/notification-daemon/src/daemon/daemon.c
20 +++ src/notification-daemon/src/daemon/daemon.c
21 @@ -1252,7 +1252,15 @@
24 notify_init("notify-send");
25 +#ifdef NOTIFY_CHECK_VERSION
26 +#if NOTIFY_CHECK_VERSION (0, 7, 0)
27 + notify = notify_notification_new(summary, body, icon_str);
29 notify = notify_notification_new(summary, body, icon_str, NULL);
32 + notify = notify_notification_new(summary, body, icon_str, NULL);
34 notify_notification_set_category(notify, type);
35 notify_notification_set_urgency(notify, urgency);
36 notify_notification_set_timeout(notify, expire_timeout);