https://bugzilla.mozilla.org/show_bug.cgi?id=628222 # HG changeset patch # User Priit Laes # Date 1295907218 -7200 # Node ID ebfe5822e8916cce3d1811e67f6cb95ba3caeb24 # Parent e874889e43d1b40f16c8234d53f39126a04e6621 Add support for libnotify-0.7+ diff -r e874889e43d1 -r ebfe5822e891 toolkit/system/gnome/nsAlertsIconListener.cpp --- a/toolkit/system/gnome/nsAlertsIconListener.cpp Fri Jan 21 16:45:23 2011 -0500 +++ b/toolkit/system/gnome/nsAlertsIconListener.cpp Tue Jan 25 00:13:38 2011 +0200 @@ -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;