[evolution] Bug #604182 - Hide variable used only with HAVE_LIBNOTIFY



commit 1407aa3c9b14ea6e6156e54b90b871ddeef28188
Author: Milan Crha <mcrha redhat com>
Date:   Fri Dec 11 12:12:51 2009 +0100

    Bug #604182 - Hide variable used only with HAVE_LIBNOTIFY

 plugins/publish-calendar/publish-calendar.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/publish-calendar/publish-calendar.c b/plugins/publish-calendar/publish-calendar.c
index ff622bf..346e62c 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;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]