aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-06-08 05:01:58 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-06-08 05:04:13 +0800
commite0f11ae8eb198a8e153bbe9dbaf8290da1da7836 (patch)
tree96e163f9ca721a390d86b5e15c09c41822d6312e /plugins
parent8df8892ffbb4fc42a775b608843d17616beb8cbf (diff)
downloadgsoc2013-evolution-e0f11ae8eb198a8e153bbe9dbaf8290da1da7836.tar
gsoc2013-evolution-e0f11ae8eb198a8e153bbe9dbaf8290da1da7836.tar.gz
gsoc2013-evolution-e0f11ae8eb198a8e153bbe9dbaf8290da1da7836.tar.bz2
gsoc2013-evolution-e0f11ae8eb198a8e153bbe9dbaf8290da1da7836.tar.lz
gsoc2013-evolution-e0f11ae8eb198a8e153bbe9dbaf8290da1da7836.tar.xz
gsoc2013-evolution-e0f11ae8eb198a8e153bbe9dbaf8290da1da7836.tar.zst
gsoc2013-evolution-e0f11ae8eb198a8e153bbe9dbaf8290da1da7836.zip
Bump minimum libnotify version to 0.7.
GNOME has included libnotify 0.7.x since GNOME 3.0. It's still an optional dependency for Evolution, but if you're gonna use it you'll need a GNOME3-era release.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mail-notification/mail-notification.c5
-rw-r--r--plugins/publish-calendar/publish-calendar.c5
2 files changed, 0 insertions, 10 deletions
diff --git a/plugins/mail-notification/mail-notification.c b/plugins/mail-notification/mail-notification.c
index d859c47072..94cfa6c6c1 100644
--- a/plugins/mail-notification/mail-notification.c
+++ b/plugins/mail-notification/mail-notification.c
@@ -434,13 +434,8 @@ new_notify_status (EMEventTargetFolder *t)
if (!notify_init ("evolution-mail-notification"))
fprintf (stderr,"notify init error");
-#ifdef HAVE_LIBNOTIFY_07
notify = notify_notification_new (
summary, escaped_text, icon_name);
-#else
- notify = notify_notification_new (
- summary, escaped_text, icon_name, NULL);
-#endif /* HAVE_LIBNOTIFY_07 */
notify_notification_set_urgency (
notify, NOTIFY_URGENCY_NORMAL);
diff --git a/plugins/publish-calendar/publish-calendar.c b/plugins/publish-calendar/publish-calendar.c
index ccba649037..af4eb28cf7 100644
--- a/plugins/publish-calendar/publish-calendar.c
+++ b/plugins/publish-calendar/publish-calendar.c
@@ -150,12 +150,7 @@ update_publish_notification (GtkMessageType msg_type,
return;
}
-#ifdef HAVE_LIBNOTIFY_07
notify = notify_notification_new (_("Calendar Publishing"), actual_msg->str, stock_name);
-#else
- notify = notify_notification_new (_("Calendar Publishing"), actual_msg->str, stock_name, NULL);
- notify_notification_attach_to_status_icon (notify, status_icon);
-#endif /* HAVE_LIBNOTIFY_07 */
notify_notification_set_urgency (notify, NOTIFY_URGENCY_NORMAL);
notify_notification_set_timeout (notify, NOTIFY_EXPIRES_DEFAULT);
g_timeout_add (500, show_notify_cb, NULL);