ivi_layout_remove_notification_create_layer API is removed, because it is not needed after the changes to the ivi_layout_add_notification_create_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 b2c3d2e..5b31733 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_create_notification_func)( - struct ivi_layout_layer *ivilayer, - void *userdata); - typedef void (*layer_remove_notification_func)( struct ivi_layout_layer *ivilayer, void *userdata); @@ -338,10 +334,6 @@ struct ivi_layout_interface { */ int32_t (*add_listener_create_layer)(struct wl_listener *listener); - void (*remove_notification_create_layer)( - layer_create_notification_func callback, - void *userdata); - /** * \brief register/unregister for notification when ivi_layer is removed */ diff --git a/ivi-shell/ivi-layout.c b/ivi-shell/ivi-layout.c index ac96083..0913f43 100644 --- a/ivi-shell/ivi-layout.c +++ b/ivi-shell/ivi-layout.c @@ -1050,14 +1050,6 @@ ivi_layout_add_listener_create_layer(struct wl_listener *listener) return IVI_SUCCEEDED; } -static void -ivi_layout_remove_notification_create_layer(layer_create_notification_func callback, - void *userdata) -{ - struct ivi_layout *layout = get_instance(); - remove_notification(&layout->layer_notification.created.listener_list, callback, userdata); -} - static int32_t ivi_layout_add_notification_remove_layer(layer_remove_notification_func callback, void *userdata) @@ -2189,7 +2181,6 @@ static struct ivi_layout_interface ivi_layout_interface = { * layer controller interfaces */ .add_listener_create_layer = ivi_layout_add_listener_create_layer, - .remove_notification_create_layer = ivi_layout_remove_notification_create_layer, .add_notification_remove_layer = ivi_layout_add_notification_remove_layer, .remove_notification_remove_layer = ivi_layout_remove_notification_remove_layer, .layer_create_with_dimension = ivi_layout_layer_create_with_dimension, -- 1.7.9.5 _______________________________________________ wayland-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/wayland-devel
