From bfaa109422fc9ba451bdb85ecce907817564e892 Mon Sep 17 00:00:00 2001 From: Marcus Fritzsch Date: Fri, 4 Jul 2014 16:12:31 +0200 Subject: [PATCH] ilmControl: renaming the last remaining layer listener * No more child/main, only one remains and we do not need a suffix anymore. Signed-off-by: Marcus Fritzsch --- ivi-layermanagement-api/ilmControl/src/ilm_control_wayland_platform.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ivi-layermanagement-api/ilmControl/src/ilm_control_wayland_platform.c b/ivi-layermanagement-api/ilmControl/src/ilm_control_wayland_platform.c index fc9cc6c..3681103 100644 --- a/ivi-layermanagement-api/ilmControl/src/ilm_control_wayland_platform.c +++ b/ivi-layermanagement-api/ilmControl/src/ilm_control_wayland_platform.c @@ -700,7 +700,7 @@ controller_layer_listener_destroyed_child(void *data, free(ctx_layer); } -static struct ivi_controller_layer_listener controller_layer_listener_child = +static struct ivi_controller_layer_listener controller_layer_listener = { controller_layer_listener_visibility_child, controller_layer_listener_opacity_child, @@ -2076,7 +2076,7 @@ static int create_controller_layer(struct wayland_context *ctx, t_ilm_uint width wl_list_init(&ctx_layer->order.list_surface); ivi_controller_layer_add_listener(ctx_layer->controller, - &controller_layer_listener_child, ctx_layer); + &controller_layer_listener, ctx_layer); return 0; } -- 2.7.4