projects
/
psensor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4565654
)
added comment about libnotify 0.7 support
author
Jean-Philippe Orsini
<jeanfi@gmail.com>
Fri, 22 Apr 2011 21:48:11 +0000
(21:48 +0000)
committer
Jean-Philippe Orsini
<jeanfi@gmail.com>
Fri, 22 Apr 2011 21:48:11 +0000
(21:48 +0000)
src/ui_notify.c
patch
|
blob
|
history
diff --git
a/src/ui_notify.c
b/src/ui_notify.c
index
8752a94
..
4344719
100644
(file)
--- a/
src/ui_notify.c
+++ b/
src/ui_notify.c
@@
-62,6
+62,13
@@
void ui_notify(struct psensor *sensor, struct ui_psensor *ui)
name = strdup(sensor->name);
#ifdef NOTIFY_VERSION_MAJOR
+ /*
+ since libnotify 0.7 notify_notification_new has
+ only 3 parameters.
+
+ libnotify < 0.7 does not define
+ NOTIFY_VERSION_MAJOR
+ */
notif = notify_notification_new(_("Temperature alert"),
name,
NULL);