aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/mail-notification/ChangeLog4
-rw-r--r--plugins/mail-notification/mail-notification.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/plugins/mail-notification/ChangeLog b/plugins/mail-notification/ChangeLog
index 33ccd3a82f..8d5f8d9f9b 100644
--- a/plugins/mail-notification/ChangeLog
+++ b/plugins/mail-notification/ChangeLog
@@ -1,3 +1,7 @@
+2007-05-07 Srinivasa Ragavan <sragavan@novell.com>
+
+ * mail-notification.c: Fix for a build error.
+
2007-05-03 Srinivasa Ragavan <sragavan@novell.com>
* mail-notification.c: (org_gnome_mail_new_notify): Make libnotify
diff --git a/plugins/mail-notification/mail-notification.c b/plugins/mail-notification/mail-notification.c
index 1d9ea52eae..2db98579f2 100644
--- a/plugins/mail-notification/mail-notification.c
+++ b/plugins/mail-notification/mail-notification.c
@@ -36,7 +36,9 @@
#include <mail/em-folder-tree-model.h>
#include <camel/camel-folder.h>
+#ifdef HAVE_LIBNOTIFY
#include <libnotify/notify.h>
+#endif
int e_plugin_lib_enable (EPluginLib *ep, int enable);
void org_gnome_mail_new_notify (EPlugin *ep, EMEventTargetFolder *t);