--- libseahorse/seahorse-notification.c +++ libseahorse/seahorse-notification.c @@ -37,6 +37,9 @@ #ifdef HAVE_LIBNOTIFY #include +#ifndef NOTIFY_CHECK_VERSION +#define NOTIFY_CHECK_VERSION(x,y,z) 0 +#endif #endif /* ----------------------------------------------------------------------------- @@ -231,7 +234,12 @@ heading = format_key_text (snotif->heading); message = format_key_text (snotif->message); - notif = notify_notification_new (heading, message, snotif->icon, attachto); + notif = notify_notification_new (heading, message, snotif->icon +#if NOTIFY_CHECK_VERSION (0, 7, 0) + ); +#else + , attachto); +#endif g_free (heading); g_free (message);