aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mail-notification/ChangeLog4
-rw-r--r--plugins/mail-notification/mail-notification.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/plugins/mail-notification/ChangeLog b/plugins/mail-notification/ChangeLog
index 8d5f8d9f9b..83fbba0aa7 100644
--- a/plugins/mail-notification/ChangeLog
+++ b/plugins/mail-notification/ChangeLog
@@ -1,3 +1,7 @@
+2007-05-11 Srinivasa Ragavan <sragavan@novell.com>
+
+ * mail-notification.c: (org_gnome_mail_new_notify): Build error.
+
2007-05-07 Srinivasa Ragavan <sragavan@novell.com>
* mail-notification.c: Fix for a build error.
diff --git a/plugins/mail-notification/mail-notification.c b/plugins/mail-notification/mail-notification.c
index 2db98579f2..29ea1e3374 100644
--- a/plugins/mail-notification/mail-notification.c
+++ b/plugins/mail-notification/mail-notification.c
@@ -79,10 +79,11 @@ org_gnome_mail_new_notify (EPlugin *ep, EMEventTargetFolder *t)
{
char *msg = NULL;
char *folder;
+#ifdef HAVE_LIBNOTIFY
NotifyUrgency urgency = NOTIFY_URGENCY_NORMAL;
long expire_timeout = NOTIFY_EXPIRES_DEFAULT;
NotifyNotification *notify;
-
+#endif
/* FIXME: Should this is_inbox be configurable? */
if (!t->new || !t->is_inbox)
return;