Disconnect the idle sound handler in notes during finalization
authorClaudio Saavedra <csaavedra@igalia.com>
Thu, 14 May 2009 10:56:37 +0000 (13:56 +0300)
committerClaudio Saavedra <csaavedra@igalia.com>
Thu, 14 May 2009 10:56:37 +0000 (13:56 +0300)
commit2702404a561c075f6c77d9e2ddc8b9b81dab3f20
tree8b07bf731428405560ff9e4a828c16e2ecb304e6
parent081db0c35ad74d3d1472345cd87843708b64b8cb
Disconnect the idle sound handler in notes during finalization

* hildon/hildon-note-private.h: Add idle_handler to the private data.
* hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
(on_show_cb), (sound_handling): Disconnect the idle handler for
the sound when the note is finalized to avoid possible crashes.

Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
in a scenario)
ChangeLog
hildon/hildon-note-private.h
hildon/hildon-note.c