[xchat-gnome/xchat-0-26-3] 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/xchat-0-26-3] Bug 648464 - Fix build when using libnotify < 0.7
- Date: Wed, 8 Jun 2011 12:32:23 +0000 (UTC)
commit e21ec260f820e38642f6dacc9cc4ec49408958be
Author: Frederic Crozat <fred crozat net>
Date: Thu Jun 9 10:27:52 2011 +0530
Bug 648464 - Fix build when using libnotify < 0.7
NOTIFY_CHECK_VERSION is not defined in old libnotify release.
plugins/notify-osd/notify-osd.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/plugins/notify-osd/notify-osd.c b/plugins/notify-osd/notify-osd.c
index 9582529..c52c8fd 100644
--- a/plugins/notify-osd/notify-osd.c
+++ b/plugins/notify-osd/notify-osd.c
@@ -27,6 +27,10 @@
#include "xchat-plugin.h"
#include "xg-plugin.h"
+#ifndef NOTIFY_CHECK_VERSION
+#define NOTIFY_CHECK_VERSION(x,y,z) 0
+#endif
+
#define NOTIFY_OSD_NAME _("On-screen display")
#define NOTIFY_OSD_VERSION "0.2"
#define NOTIFY_OSD_DESCRIPTION _("Pops up notification of important messages when XChat-GNOME doesn't have the focus")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]