[ekiga] libnotify: Set hint only on recent versions of libnotify.
- From: Damien Sandras <dsandras src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] libnotify: Set hint only on recent versions of libnotify.
- Date: Sat, 29 Sep 2012 16:42:46 +0000 (UTC)
commit 95b8f566a98b1c0cdcc70f8143a0bbe4f4daa7ff
Author: Damien Sandras <dsandras beip be>
Date: Sat Sep 29 18:42:24 2012 +0200
libnotify: Set hint only on recent versions of libnotify.
lib/engine/components/libnotify/libnotify-main.cpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/lib/engine/components/libnotify/libnotify-main.cpp b/lib/engine/components/libnotify/libnotify-main.cpp
index 488e913..b83a075 100644
--- a/lib/engine/components/libnotify/libnotify-main.cpp
+++ b/lib/engine/components/libnotify/libnotify-main.cpp
@@ -250,7 +250,11 @@ LibNotify::on_call_notification (boost::shared_ptr<Ekiga::CallManager> manager,
notify_notification_show (notify, NULL);
+#ifdef NOTIFY_CHECK_VERSION
+#if !NOTIFY_CHECK_VERSION(0,7,0)
notify_notification_set_hint (notify, "transient", g_variant_new_boolean (TRUE));
+#endif
+#endif
g_free (title);
g_free (body);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]