aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mail-notification/ChangeLog6
-rw-r--r--plugins/mail-notification/mail-notification.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/plugins/mail-notification/ChangeLog b/plugins/mail-notification/ChangeLog
index 1ea7e377c1..a3f7fed466 100644
--- a/plugins/mail-notification/ChangeLog
+++ b/plugins/mail-notification/ChangeLog
@@ -1,3 +1,9 @@
+2007-10-11 Matthew Barnes <mbarnes@redhat.com>
+
+ * mail-notification.c:
+ Put the notification_callback() declaration inside a
+ #ifdef HAVE_LIBNOTIFY block to avoid a potential compiler warning.
+
2007-08-03 Johnny Jacob <jjohnny@novell.com>
** Fix for bug #458822 from Anand V M <avmuttagi@gmail.com>
diff --git a/plugins/mail-notification/mail-notification.c b/plugins/mail-notification/mail-notification.c
index 55cd705372..bcdac7263e 100644
--- a/plugins/mail-notification/mail-notification.c
+++ b/plugins/mail-notification/mail-notification.c
@@ -46,12 +46,12 @@
int e_plugin_lib_enable (EPluginLib *ep, int enable);
void org_gnome_mail_new_notify (EPlugin *ep, EMEventTargetFolder *t);
void org_gnome_mail_read_notify (EPlugin *ep, EMEventTargetMessage *t);
-static gboolean notification_callback (gpointer notify);
static gboolean enabled = FALSE;
static GtkStatusIcon *status_icon = NULL;
#ifdef HAVE_LIBNOTIFY
+static gboolean notification_callback (gpointer notify);
static NotifyNotification *notify = NULL;
#endif