clients: add global_remove handler stubs
authorPekka Paalanen <ppaalanen@gmail.com>
Tue, 22 Jan 2013 12:53:55 +0000 (14:53 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 24 Jan 2013 21:42:38 +0000 (16:42 -0500)
commit0eab05d2a7cf610e4d049dfd81b0100d4219e305
treea93c8046334ba5adcddf34f88c24734e6fe3985e
parentcc9acfc75efb2460a40661cfa517e39334eb7d1d
clients: add global_remove handler stubs

All the clients here were missing the global_remove handler. Because
window.c did not have it, weston-desktop-shell and weston-keyboard
segfaulted on compositor exit, as they received some
wl_registry.global_remove events.

Add more or less stub global_remove handlers, so that clients do not
crash on such events. Toytoolkit and all applications would need a lot
more code to properly handle the global object removal.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
clients/screenshot.c
clients/simple-egl.c
clients/simple-shm.c
clients/simple-touch.c
clients/weston-info.c
clients/weston-simple-im.c
clients/window.c