ivi_layout_remove_notification_remove_layer API is removed, because it is not needed after the changes to the ivi_layout_add_notification_remove_layer.
Signed-off-by: Emre Ucan <[email protected]> --- ivi-shell/ivi-layout-export.h | 8 -------- ivi-shell/ivi-layout.c | 9 --------- 2 files changed, 17 deletions(-) diff --git a/ivi-shell/ivi-layout-export.h b/ivi-shell/ivi-layout-export.h index b7837c6..391df55 100644 --- a/ivi-shell/ivi-layout-export.h +++ b/ivi-shell/ivi-layout-export.h @@ -138,10 +138,6 @@ enum ivi_layout_transition_type{ IVI_LAYOUT_TRANSITION_MAX, }; -typedef void (*layer_remove_notification_func)( - struct ivi_layout_layer *ivilayer, - void *userdata); - typedef void (*surface_remove_notification_func)( struct ivi_layout_surface *ivisurf, void *userdata); @@ -339,10 +335,6 @@ struct ivi_layout_interface { */ int32_t (*add_listener_remove_layer)(struct wl_listener *listener); - void (*remove_notification_remove_layer)( - layer_remove_notification_func callback, - void *userdata); - /** * \brief Create a ivi_layer which should be managed by the service * diff --git a/ivi-shell/ivi-layout.c b/ivi-shell/ivi-layout.c index 66f5b02..e7d6583 100644 --- a/ivi-shell/ivi-layout.c +++ b/ivi-shell/ivi-layout.c @@ -1048,14 +1048,6 @@ ivi_layout_add_listener_remove_layer(struct wl_listener *listener) return IVI_SUCCEEDED; } -static void -ivi_layout_remove_notification_remove_layer(layer_remove_notification_func callback, - void *userdata) -{ - struct ivi_layout *layout = get_instance(); - remove_notification(&layout->layer_notification.removed.listener_list, callback, userdata); -} - static int32_t ivi_layout_add_listener_create_surface(struct wl_listener *listener) { @@ -2155,7 +2147,6 @@ static struct ivi_layout_interface ivi_layout_interface = { */ .add_listener_create_layer = ivi_layout_add_listener_create_layer, .add_listener_remove_layer = ivi_layout_add_listener_remove_layer, - .remove_notification_remove_layer = ivi_layout_remove_notification_remove_layer, .layer_create_with_dimension = ivi_layout_layer_create_with_dimension, .layer_destroy = ivi_layout_layer_destroy, .get_layers = ivi_layout_get_layers, -- 1.7.9.5 _______________________________________________ wayland-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/wayland-devel
