aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/publish-calendar/publish-calendar.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-12-11 19:12:51 +0800
committerMilan Crha <mcrha@redhat.com>2009-12-11 19:12:51 +0800
commit1407aa3c9b14ea6e6156e54b90b871ddeef28188 (patch)
treeb2b8b925dacb9c5c31b1b2572a416327617c5bc9 /plugins/publish-calendar/publish-calendar.c
parent223c2f4a75c5423db244430ca3630717e2735a52 (diff)
downloadgsoc2013-evolution-1407aa3c9b14ea6e6156e54b90b871ddeef28188.tar.gz
gsoc2013-evolution-1407aa3c9b14ea6e6156e54b90b871ddeef28188.tar.zst
gsoc2013-evolution-1407aa3c9b14ea6e6156e54b90b871ddeef28188.zip
Bug #604182 - Hide variable used only with HAVE_LIBNOTIFY
Diffstat (limited to 'plugins/publish-calendar/publish-calendar.c')
-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;