[rhythmbox/v0.13.x] status-icon: remove "playing-changed" handler when deactivated (bug #645145)



commit f91e85d913ec68646b03fc0f731c7323de19ab7f
Author: Jonathan Matthew <jonathan d14n org>
Date:   Sat Mar 19 08:30:18 2011 +1000

    status-icon: remove "playing-changed" handler when deactivated (bug #645145)

 plugins/status-icon/rb-status-icon-plugin.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/status-icon/rb-status-icon-plugin.c b/plugins/status-icon/rb-status-icon-plugin.c
index 883c059..c13cd8c 100644
--- a/plugins/status-icon/rb-status-icon-plugin.c
+++ b/plugins/status-icon/rb-status-icon-plugin.c
@@ -1617,6 +1617,7 @@ impl_deactivate	(RBPlugin *bplugin,
 	/* disconnect signal handlers used to update the icon */
 	if (plugin->priv->shell_player != NULL) {
 		g_signal_handlers_disconnect_by_func (plugin->priv->shell_player, playing_entry_changed_cb, plugin);
+		g_signal_handlers_disconnect_by_func (plugin->priv->shell_player, playing_changed_cb, plugin);
 		g_signal_handlers_disconnect_by_func (plugin->priv->shell_player, elapsed_changed_cb, plugin);
 
 		g_object_unref (plugin->priv->shell_player);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]