diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2018-01-22 16:52:00 -0500 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2018-01-22 16:52:00 -0500 |
commit | 6f9b14b8ee43a92338dbfcc536e044d35766975e (patch) | |
tree | 8d0b046d848d1e49128f2f24cfad930a80e067f6 | |
parent | 815391126ef1e942e04368dc8b3402a1b672ae9d (diff) | |
download | enlightenment-6f9b14b8ee43a92338dbfcc536e044d35766975e.tar.gz |
print notifications to stderr if a notification handler doesn't exist
-rw-r--r-- | src/bin/e_notification.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bin/e_notification.c b/src/bin/e_notification.c index 60377ae734..b185f395bf 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)); |