It is not necessary to check ivi object IDs of pregiven ivi objects (surface, layer). The controller modules are responsible to provide valid pointers to ivi objects.
Checking object IDs do not protect us from invalid pointers. Emre Ucan (5): ivi-shell: simplify ivi_layout_remove_surface ivi-shell: simplify ivi_layout_layer_add_surface ivi-shell: simplify ivi_layout_set_render_order ivi-shell: simplify ivi_layout_screen_add_layer ivi-shell: simplify ivi_layout_screen_add_layer ivi-shell/ivi-layout.c | 76 ++++++++---------------------------------------- 1 file changed, 12 insertions(+), 64 deletions(-) -- 1.7.9.5 _______________________________________________ wayland-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/wayland-devel
