aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/alarm-notify/alarm-queue.c
diff options
context:
space:
mode:
authorFlo Gravo <flo.gravo@gmail.com>2010-10-23 06:54:27 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-10-23 06:54:27 +0800
commit8854c727c1c05bc22a7757ffa93bc9533286525f (patch)
treeee93b2f5830a4fcec4ed4947fda36865f6fddd5b /calendar/gui/alarm-notify/alarm-queue.c
parent2636da7dac1683c7bac98b7a6d1ee084ea2efbca (diff)
downloadgsoc2013-evolution-8854c727c1c05bc22a7757ffa93bc9533286525f.tar.gz
gsoc2013-evolution-8854c727c1c05bc22a7757ffa93bc9533286525f.tar.zst
gsoc2013-evolution-8854c727c1c05bc22a7757ffa93bc9533286525f.zip
Bug 632903 - Support libnotify-0.7
Diffstat (limited to 'calendar/gui/alarm-notify/alarm-queue.c')
-rw-r--r--calendar/gui/alarm-notify/alarm-queue.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/calendar/gui/alarm-notify/alarm-queue.c b/calendar/gui/alarm-notify/alarm-queue.c
index 7145a2209a..752ce3749e 100644
--- a/calendar/gui/alarm-notify/alarm-queue.c
+++ b/calendar/gui/alarm-notify/alarm-queue.c
@@ -1606,7 +1606,11 @@ popup_notification (time_t trigger, CompQueuedAlarms *cqa,
body = g_strdup_printf ("%s %s", start_str, time_str);
}
+#ifdef HAVE_LIBNOTIFY_07
+ n = notify_notification_new (summary, body, "stock_appointment-reminder");
+#else
n = notify_notification_new (summary, body, "stock_appointment-reminder", NULL);
+#endif /* HAVE_LIBNOTIFY_07 */
if (!notify_notification_show (n, NULL))
g_warning ("Could not send notification to daemon\n");