Sending NULL body is allowed

This commit is contained in:
William Jon McCann 2010-06-23 20:27:09 -04:00
parent 3b3dbab544
commit 9fae4e8c01
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ main (int argc, char *argv[])
exit (1); exit (1);
notify = notify_notification_new (summary, notify = notify_notification_new (summary,
body == NULL ? "" : body, body,
icon_str, icon_str,
NULL); NULL);
notify_notification_set_category (notify, type); notify_notification_set_category (notify, type);