[xchat-gnome] Bug 648464 - Fix build when using libnotify < 0.7
- From: Ritesh Khadgaray <rkhadgaray src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [xchat-gnome] Bug 648464 - Fix build when using libnotify < 0.7
- Date: Sat, 11 Jun 2011 06:23:51 +0000 (UTC)
commit f7e71adf926aaaf558568453330804562c2c0f9f
Author: Ritesh Khadgaray <khadgaray gmail com>
Date: Thu Jun 9 10:36:17 2011 +0530
Bug 648464 - Fix build when using libnotify < 0.7
remove deprecated code check
plugins/notify-osd/notify-osd.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/plugins/notify-osd/notify-osd.c b/plugins/notify-osd/notify-osd.c
index 9582529..6cfa4e8 100644
--- a/plugins/notify-osd/notify-osd.c
+++ b/plugins/notify-osd/notify-osd.c
@@ -87,11 +87,7 @@ add_notify (char *summary, char *message)
gchar *escaped;
escaped = g_markup_escape_text (message, strlen(message));
-#if !NOTIFY_CHECK_VERSION(0,7,0)
- notify = notify_notification_new (summary, escaped, NULL, NULL);
-#else
notify = notify_notification_new (summary, escaped, NULL);
-#endif
notify_notification_set_urgency (notify, NOTIFY_URGENCY_NORMAL);
notify_notification_set_icon_from_pixbuf (notify, notify_icon);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]