--- awn-extras-0.4.0.orig/applets/maintained/notification-daemon/daemon.c 2010-04-10 01:26:20.000000000 +0200 +++ awn-extras-0.4.0/applets/maintained/notification-daemon/daemon.c 2011-03-10 14:32:27.000000000 +0100 @@ -49,6 +49,9 @@ #include <glib/gprintf.h> #include <libnotify/notify.h> +#ifndef NOTIFY_CHECK_VERSION +#define NOTIFY_CHECK_VERSION(x,y,z) 0 +#endif #include <glib/gprintf.h> @@ -1487,7 +1490,12 @@ if (fork() == 0) { notify_init("notify-send"); - notify = notify_notification_new(summary, body, icon_str, NULL); + notify = notify_notification_new(summary, body, icon_str +#if NOTIFY_CHECK_VERSION (0, 7, 0) +#else + , NULL +#endif + ); notify_notification_set_category(notify, type); notify_notification_set_urgency(notify, urgency); notify_notification_set_timeout(notify, expire_timeout);