Each data notifier was preparing data and then invoking the user callbacks for DnD or selection protocols. Most of the notifiers code was handling the user callbacks invocation and was the same for all of them.
This patch simplifies the notifiers by moving the user callbacks invocation into a common place for all the types, i.e into the notify dispatcher. The notifiers prototype has been changed to suit the code modifications.
f788737 DnD/X11: refactor the notifiers
src/lib/elm_cnp.c | 305 ++++++++++++++++-------------------------------------
1 file changed, 93 insertions(+), 212 deletions(-)
Upstream: git.enlightenment.org