print notifications to stderr if a notification handler doesn't exist

This commit is contained in:
Mike Blumenkrantz 2018-01-22 16:52:00 -05:00
parent a95e49fe6b
commit 7b55e20ace
1 changed files with 4 additions and 1 deletions

View File

@ -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));