aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/publish-calendar/publish-calendar.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/publish-calendar/publish-calendar.c b/plugins/publish-calendar/publish-calendar.c
index ff622bf4c1..346e62c98c 100644
--- a/plugins/publish-calendar/publish-calendar.c
+++ b/plugins/publish-calendar/publish-calendar.c
@@ -100,7 +100,9 @@ static void
update_publish_notification (GtkMessageType msg_type, const gchar *msg_text)
{
static GString *actual_msg = NULL;
+ #ifdef HAVE_LIBNOTIFY
static gboolean can_notify = TRUE;
+ #endif
gboolean new_icon = !status_icon;
const gchar *stock_name;