summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2011-03-30 09:08:41 +0200
committerDanny Baumann <dannybaumann@web.de>2011-03-30 09:08:41 +0200
commit0c60b3cc9c21b4697a8bd875f3bc510313c4ca2d (patch)
treeae64c248fb19306987468e79dcd05633d9882094
parenta653a3917fecb7346e1c31bdb0f7904976a75f62 (diff)
downloadplugins-extra-0c60b3cc9c21b4697a8bd875f3bc510313c4ca2d.tar.gz
plugins-extra-0c60b3cc9c21b4697a8bd875f3bc510313c4ca2d.tar.bz2
libnotify API was changed in 0.6.1, not 0.6.0.
-rw-r--r--configure.ac6
-rw-r--r--src/notification/CMakeLists.txt8
-rw-r--r--src/notification/notification.c2
3 files changed, 8 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac
index 8132489..f2167a1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -140,9 +140,9 @@ PKG_CHECK_MODULES(LIBNOTIFY, libnotify gtk+-2.0, [have_libnotify=yes], [have_lib
AM_CONDITIONAL(NOTIFICATION_PLUGIN, test "x$have_libnotify" = "xyes")
if test "$have_libnotify" = yes; then
AC_DEFINE(USE_NOTIFICATION, 1, [Build notification plugin])
- PKG_CHECK_EXISTS(libnotify >= 0.6, [have_libnotify_0_6=yes], [have_libnotify_0_6=no])
- if test "$have_libnotify_0_6" = yes; then
- AC_DEFINE(HAVE_LIBNOTIFY_0_6, 1, [libnotify >= 0.6 present])
+ PKG_CHECK_EXISTS(libnotify >= 0.6.1, [have_libnotify_0_6_1=yes], [have_libnotify_0_6_1=no])
+ if test "$have_libnotify_0_6_1" = yes; then
+ AC_DEFINE(HAVE_LIBNOTIFY_0_6_1, 1, [libnotify >= 0.6.1 present])
fi
fi
diff --git a/src/notification/CMakeLists.txt b/src/notification/CMakeLists.txt
index b2dfa61..7698965 100644
--- a/src/notification/CMakeLists.txt
+++ b/src/notification/CMakeLists.txt
@@ -1,8 +1,8 @@
include (CompizFusion)
-pkg_check_modules (LIBNOTIFY_0_6 libnotify>=0.6)
-if (LIBNOTIFY_0_6_FOUND)
- add_definitions (-DHAVE_LIBNOTIFY_0_6)
-endif (LIBNOTIFY_0_6_FOUND)
+pkg_check_modules (LIBNOTIFY_0_6_1 libnotify>=0.6.1)
+if (LIBNOTIFY_0_6_1_FOUND)
+ add_definitions (-DHAVE_LIBNOTIFY_0_6_1)
+endif (LIBNOTIFY_0_6_1_FOUND)
compiz_fusion_plugin (notification PKGDEPS libnotify)
diff --git a/src/notification/notification.c b/src/notification/notification.c
index 7d10628..7fbe4ac 100644
--- a/src/notification/notification.c
+++ b/src/notification/notification.c
@@ -104,7 +104,7 @@ notifyLogMessage (const char *component,
n = notify_notification_new (logLevel,
message,
iconUri
-#if !defined (HAVE_LIBNOTIFY_0_6)
+#if !defined (HAVE_LIBNOTIFY_0_6_1)
, NULL
#endif
);