Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- notification/src/notification.cpp.orig 2010-10-24 22:30:28.000000000 +0600
- +++ notification/src/notification.cpp 2011-08-02 01:04:57.000000000 +0600
- @@ -26,6 +26,13 @@
- COMPIZ_PLUGIN_20090315 (notification, NotificationPluginVTable);
- +/* libnotify 0.7 introduced proper NOTIFY_CHECK_VERSION macro */
- +#ifdef NOTIFY_CHECK_VERSION
- +#if NOTIFY_CHECK_VERSION(0,6,1)
- +#define HAVE_LIBNOTIFY_0_6_1
- +#endif
- +#endif
- +
- void
- NotificationScreen::logMessage (const char *component,
- CompLogLevel level,
- @@ -55,7 +62,11 @@
- logLevel = (char *) logLevelToString (level);
- n = notify_notification_new (logLevel, message,
- - iconUri.c_str (), NULL);
- + iconUri.c_str ()
- +#ifndef HAVE_LIBNOTIFY_0_6_1
- + , NULL
- +#endif
- + );
- timeout = optionGetTimeout ();
- if (timeout > 0)
Advertisement
Add Comment
Please, Sign In to add comment