aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mail-notification
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2007-10-12 04:44:33 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2007-10-12 04:44:33 +0800
commit8bd9a3dfa2b20ef6f07f9022bb7bdf1da42bfb67 (patch)
tree19ccb700f6df46cee8ce0c48d5122e1e5914a6d8 /plugins/mail-notification
parentd04eaa26418f68ebbe3a5a52711c72272c979399 (diff)
downloadgsoc2013-evolution-8bd9a3dfa2b20ef6f07f9022bb7bdf1da42bfb67.tar.gz
gsoc2013-evolution-8bd9a3dfa2b20ef6f07f9022bb7bdf1da42bfb67.tar.zst
gsoc2013-evolution-8bd9a3dfa2b20ef6f07f9022bb7bdf1da42bfb67.zip
Miscellaneous changes related to bug #437579.
2007-10-11 Matthew Barnes <mbarnes@redhat.com> Miscellaneous changes related to bug #437579. * configure.in: Put a blank line between the configuration summary and the final "now type make" message. * mail/em-format.c (em_format_add_puri): Use G_GSIZE_FORMAT when printing a gsize/size_t to make compilers on all arches happy. * plugins/mail-notification/mail-notification.c: Put the notification_callback() declaration inside a #ifdef HAVE_LIBNOTIFY block to avoid a potential compiler warning. * calendar/gui/alarm-notify/alarm-queue.c: Fix an implicit GTK+ function declaration on x86_64. svn path=/trunk/; revision=34378
Diffstat (limited to 'plugins/mail-notification')
-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