--- src/syslog-notify.c +++ src/syslog-notify.c @@ -66,7 +66,15 @@ close(fd); return; } +#ifdef NOTIFY_CHECK_VERSION +#if NOTIFY_CHECK_VERSION (0, 7, 0) + notification=notify_notification_new(title,message,NULL); +#else notification=notify_notification_new(title,message,NULL,NULL); +#endif +#else + notification=notify_notification_new(title,message,NULL,NULL); +#endif notify_notification_set_timeout(notification,NOTIFY_EXPIRES_DEFAULT); notify_notification_set_urgency(notification,NOTIFY_URGENCY_NORMAL); notify_notification_set_hint_string(notification,"x-canonical-append",