http://bugzilla.xfce.org/show_bug.cgi?id=6785 --- lib/hddtemp.c +++ lib/hddtemp.c @@ -102,7 +102,12 @@ if (!notify_is_initted()) notify_init(PACKAGE); /* NOTIFY_APPNAME */ - nn = notify_notification_new (summary, body, icon, NULL); + nn = notify_notification_new (summary, body, icon + #ifdef HAVE_LIBNOTIFY_07 + ); + #else + , NULL); + #endif /* FIXME: Use channels or propagate private object or use static global variable */ //notify_notification_add_action (nn, //"confirmed", --- lib/sensors-interface.c +++ lib/sensors-interface.c @@ -105,7 +105,12 @@ if (!notify_is_initted()) notify_init(PACKAGE); /* NOTIFY_APPNAME */ - nn = notify_notification_new(summary, body, icon, NULL); + nn = notify_notification_new(summary, body, icon + #ifdef HAVE_LIBNOTIFY_07 + ); + #else + , NULL); + #endif notify_notification_show(nn, &error); #else DBG("%s\n%s", summary, body);