[krb5-auth-dialog] Remove support for libnotify << 0.7
- From: Guido Günther <guidog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [krb5-auth-dialog] Remove support for libnotify << 0.7
- Date: Mon, 27 Oct 2014 12:59:43 +0000 (UTC)
commit a6936220ddfefede7172cb7953be50e8409e8d13
Author: Guido Günther <agx sigxcpu org>
Date: Mon Oct 27 07:31:19 2014 +0100
Remove support for libnotify << 0.7
from 2010. We required that version in configure.ac anyway.
src/ka-applet.c | 12 ------------
1 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/src/ka-applet.c b/src/ka-applet.c
index 838e0eb..1a98a75 100644
--- a/src/ka-applet.c
+++ b/src/ka-applet.c
@@ -754,34 +754,22 @@ ka_send_event_notification (KaApplet *self,
notify_notification_update (notification, summary, message, icon);
} else {
notification = self->priv->notification =
-#if HAVE_NOTIFY_NOTIFICATION_NEW_WITH_STATUS_ICON
- notify_notification_new_with_status_icon (summary,
- message,
- icon,
- self->priv->tray_icon);
-#else
notify_notification_new (summary, message, icon);
-#endif
notify_notification_set_urgency (notification, NOTIFY_URGENCY_NORMAL);
}
-#if HAVE_NOTIFY_NOTIFICATION_SET_HINT
notify_notification_set_hint (notification,
"desktop-entry",
g_variant_new_string (PACKAGE));
-#endif
-
if (self->priv->ns_persistence) {
hint = "resident";
timeout = NOTIFY_EXPIRES_NEVER;
notify_notification_set_timeout (notification, timeout);
notify_notification_clear_hints (notification);
-#if HAVE_NOTIFY_NOTIFICATION_SET_HINT
notify_notification_set_hint (notification,
hint,
g_variant_new_boolean (TRUE));
-#endif
}
notify_notification_clear_actions(notification);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]