From 6f9b14b8ee43a92338dbfcc536e044d35766975e Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 22 Jan 2018 16:52:00 -0500 Subject: [PATCH] print notifications to stderr if a notification handler doesn't exist --- src/bin/e_notification.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/bin/e_notification.c b/src/bin/e_notification.c index 60377ae73..b185f395b 100644 --- a/src/bin/e_notification.c +++ b/src/bin/e_notification.c @@ -561,7 +561,10 @@ e_notification_client_send(E_Notification_Notify *notify, E_Notification_Client_ normalize_notify(notify); if (!n_data) - return notification_client_dbus_send(notify, cb, data); + { + fprintf(stderr, "UNHANDLED NOTIFICATION:\nSummary: %s\nBody: %s\n", notify->summary, notify->body); + return notification_client_dbus_send(notify, cb, data); + } //local copy = malloc(sizeof(E_Notification_Notify));