[libnotify] Sending NULL body is allowed
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libnotify] Sending NULL body is allowed
- Date: Thu, 24 Jun 2010 00:29:17 +0000 (UTC)
commit 9fae4e8c01ac3404bb98fd868c0b198f3b7570b3
Author: William Jon McCann <jmccann redhat com>
Date: Wed Jun 23 20:27:09 2010 -0400
Sending NULL body is allowed
tools/notify-send.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tools/notify-send.c b/tools/notify-send.c
index e1831f4..20fe666 100644
--- a/tools/notify-send.c
+++ b/tools/notify-send.c
@@ -222,7 +222,7 @@ main (int argc, char *argv[])
exit (1);
notify = notify_notification_new (summary,
- body == NULL ? "" : body,
+ body,
icon_str,
NULL);
notify_notification_set_category (notify, type);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]