diff --git a/toolkit/system/gnome/nsAlertsIconListener.cpp b/toolkit/system/gnome/nsAlertsIconListener.cpp index 3ad4e7c8976d..2793ead6b520 100644 --- a/toolkit/system/gnome/nsAlertsIconListener.cpp +++ b/toolkit/system/gnome/nsAlertsIconListener.cpp @@ -46,6 +46,11 @@ #include +// Compatibility macro for =libnotify-0.7.0 has no support for attaching to widgets +#if !NOTIFY_CHECK_VERSION(0,7,0) + , NULL +#endif + ); + if (!mNotification) return NS_ERROR_OUT_OF_MEMORY;