[totem] Fix crasher on exit caused by signal still being caught
- From: Bastien Nocera <hadess src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [totem] Fix crasher on exit caused by signal still being caught
- Date: Tue, 15 Dec 2009 19:51:03 +0000 (UTC)
commit cba6a476fdf25d7ca40c0ab99d827467a376ee9f
Author: Bastien Nocera <hadess hadess net>
Date: Tue Dec 15 19:50:25 2009 +0000
Fix crasher on exit caused by signal still being caught
src/plugins/properties/totem-movie-properties.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/properties/totem-movie-properties.c b/src/plugins/properties/totem-movie-properties.c
index caa774c..ea98ac8 100644
--- a/src/plugins/properties/totem-movie-properties.c
+++ b/src/plugins/properties/totem-movie-properties.c
@@ -182,6 +182,15 @@ impl_deactivate (TotemPlugin *plugin,
pi = TOTEM_MOVIE_PROPERTIES_PLUGIN (plugin);
g_signal_handler_disconnect (G_OBJECT (totem), pi->handler_id_stream_length);
+ g_signal_handlers_disconnect_by_func (G_OBJECT (totem),
+ totem_movie_properties_plugin_metadata_updated,
+ plugin);
+ g_signal_handlers_disconnect_by_func (G_OBJECT (totem),
+ totem_movie_properties_plugin_file_opened,
+ plugin);
+ g_signal_handlers_disconnect_by_func (G_OBJECT (totem),
+ totem_movie_properties_plugin_file_closed,
+ plugin);
pi->handler_id_stream_length = 0;
totem_remove_sidebar_page (totem, "properties");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]