From 347bdcf94d622efbdeaa687a617efa8d1480bb74 Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Fri, 11 May 2007 09:55:01 +0000 Subject: Fix a build error. svn path=/trunk/; revision=33506 --- plugins/mail-notification/ChangeLog | 4 ++++ plugins/mail-notification/mail-notification.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'plugins/mail-notification') 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 + + * mail-notification.c: (org_gnome_mail_new_notify): Build error. + 2007-05-07 Srinivasa Ragavan * 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; -- cgit v1.2.3