print notifications to stderr if a notification handler doesn't exist
This commit is contained in:
parent
a95e49fe6b
commit
7b55e20ace
|
@ -561,7 +561,10 @@ e_notification_client_send(E_Notification_Notify *notify, E_Notification_Client_
|
||||||
normalize_notify(notify);
|
normalize_notify(notify);
|
||||||
|
|
||||||
if (!n_data)
|
if (!n_data)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "UNHANDLED NOTIFICATION:\nSummary: %s\nBody: %s\n", notify->summary, notify->body);
|
||||||
return notification_client_dbus_send(notify, cb, data);
|
return notification_client_dbus_send(notify, cb, data);
|
||||||
|
}
|
||||||
|
|
||||||
//local
|
//local
|
||||||
copy = malloc(sizeof(E_Notification_Notify));
|
copy = malloc(sizeof(E_Notification_Notify));
|
||||||
|
|
Loading…
Reference in New Issue