discomfitor pushed a commit to branch enlightenment-0.22. http://git.enlightenment.org/core/enlightenment.git/commit/?id=58e81cdd25f7db51c045888132588864baf3f3e3
commit 58e81cdd25f7db51c045888132588864baf3f3e3 Author: Mike Blumenkrantz <zm...@osg.samsung.com> Date: Mon Jan 22 16:06:42 2018 -0500 fix notification crashes when a callback isn't specified --- src/bin/e_notification.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/bin/e_notification.c b/src/bin/e_notification.c index a004f6ccb..1c09e0396 100644 --- a/src/bin/e_notification.c +++ b/src/bin/e_notification.c @@ -451,7 +451,8 @@ client_notify_cb(void *data, const Eldbus_Message *msg, Eldbus_Pending *pending) if (!eldbus_message_arguments_get(msg, "u", &id)) goto end; end: - cb(data, id); + if (cb) + cb(data, id); eldbus_connection_unref(conn); eldbus_shutdown(); } @@ -532,7 +533,8 @@ notification_client_dbus_send(E_Notification_Notify *notify, E_Notification_Clie p = eldbus_connection_send(conn, msg, client_notify_cb, data, 5000); EINA_SAFETY_ON_NULL_GOTO(p, error); - eldbus_pending_data_set(p, "cb", cb); + if (cb) + eldbus_pending_data_set(p, "cb", cb); eldbus_pending_data_set(p, "conn", conn); return EINA_TRUE; --