aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mail-notification/mail-notification.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mail-notification/mail-notification.c')
-rw-r--r--plugins/mail-notification/mail-notification.c3
1 files changed, 2 insertions, 1 deletions
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;