shell: register output->destroy_signal handler
authorXiong Zhang <xiong.y.zhang@intel.com>
Wed, 23 Oct 2013 05:58:32 +0000 (13:58 +0800)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 24 Oct 2013 06:17:15 +0000 (23:17 -0700)
commit6b48142f8ab72530c155700adb896b6c111e5f48
tree6c7145ddc568e8500885be103abe40ff0d94b29f
parent83d8ee779e52c3ce7b3789f83ecaa096b926d40c
shell: register output->destroy_signal handler

setup_output_destroy_handler() deal with output created at
drm backend initialize time.
handle_output_create() deal with output created by hot plug handler
output_destroy_handler is removed when output was unplugged or
shell is destroyed.

Signed-off-by: Xiong Zhang <xiong.y.zhang@intel.com>
src/shell.c