--- springlobby-0.120.orig/src/gui/libnotify.h 2011-01-06 22:58:18.000000000 +0000
+++ springlobby-0.120/src/gui/libnotify.h 2011-01-14 11:16:49.468807915 +0000
@@ -21,7 +21,11 @@ void LibnotifyNotification::Show(const w
{
NotifyNotification *n;
notify_init("Test");
- n = notify_notification_new ( GetAppName().mb_str(),data.second.mb_str(), NULL, NULL);
+ n = notify_notification_new ( GetAppName().mb_str(),data.second.mb_str(), NULL
+#if !defined(NOTIFY_VERSION_MINOR) || (NOTIFY_VERSION_MAJOR == 0 && NOTIFY_VERSION_MINOR < 7)
+ , NULL
+#endif
+ );
notify_notification_set_timeout (n, sett().GetNotificationPopupDisplayTime()*1000);
notify_notification_set_icon_from_pixbuf(n,icon.GetPixbuf() );