Skip to content
  • eucan's avatar
    ivi-shell: rework create_surface notification · 970f8315
    eucan authored and Pekka Paalanen's avatar Pekka Paalanen committed
    
    
    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: default avatarEmre Ucan <eucan@de.adit-jv.com>
    Reviewed-by: default avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
    970f8315