diff options
Diffstat (limited to 'plugins/mail-notification/mail-notification.c')
-rw-r--r-- | plugins/mail-notification/mail-notification.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/mail-notification/mail-notification.c b/plugins/mail-notification/mail-notification.c index 5ce66240a3..1d9ea52eae 100644 --- a/plugins/mail-notification/mail-notification.c +++ b/plugins/mail-notification/mail-notification.c @@ -99,6 +99,7 @@ org_gnome_mail_new_notify (EPlugin *ep, EMEventTargetFolder *t) gtk_status_icon_set_tooltip (status_icon, msg); gtk_status_icon_set_visible (status_icon, TRUE); +#ifdef HAVE_LIBNOTIFY if (!notify_init("notify-send")) fprintf(stderr,"notify init error"); @@ -113,6 +114,7 @@ org_gnome_mail_new_notify (EPlugin *ep, EMEventTargetFolder *t) notify_notification_set_timeout(notify, expire_timeout); notify_notification_show(notify, NULL); } +#endif g_free (folder); g_free (msg); |