diff options
author | Ucan, Emre (ADITG/SW1) <eucan@de.adit-jv.com> | 2016-04-04 08:05:09 +0000 |
---|---|---|
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2016-04-05 11:53:48 +0300 |
commit | 970f831588cf7248430cd10cd1d1774586d202ef (patch) | |
tree | 449e949613049423b18c3b7187697ea0aced0f52 /clients/clickdot.c | |
parent | 3750d1b270135cf5b1482034aff2bed9999848c6 (diff) |
ivi-shell: rework create_surface notification
The add_notification_create_surface API accepts a simple
wl_listener instead of a ivi-shell specific notification
function. Therefore, the API is renamed to
add_listener_create_surface.
This change has several advantages:
1. Code cleanup
2. No dynamic memory allocation. Listeners are allocated
by controller plugins
3. Remove API is not needed. Controller plugins can easily
remove the listener link.
The remove API is removed too:
- ivi_layout_remove_notification_create_surface
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Diffstat (limited to 'clients/clickdot.c')
0 files changed, 0 insertions, 0 deletions