summaryrefslogtreecommitdiff
path: root/mate-window-picker-applet
diff options
context:
space:
mode:
Diffstat (limited to 'mate-window-picker-applet')
-rw-r--r--mate-window-picker-applet/task-item.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mate-window-picker-applet/task-item.c b/mate-window-picker-applet/task-item.c
index 93fae92..7c4c7c8 100644
--- a/mate-window-picker-applet/task-item.c
+++ b/mate-window-picker-applet/task-item.c
@@ -623,12 +623,13 @@ on_screen_window_closed (WnckScreen *screen,
if (priv->window == window)
{
- g_signal_handlers_disconnect_by_func (screen, G_CALLBACK (on_screen_window_closed), item);
+ g_signal_handlers_disconnect_by_func (screen, G_CALLBACK (on_screen_active_viewport_changed), item);
g_signal_handlers_disconnect_by_func (screen, G_CALLBACK (on_screen_active_window_changed), item);
g_signal_handlers_disconnect_by_func (screen, G_CALLBACK (on_screen_active_workspace_changed), item);
g_signal_handlers_disconnect_by_func (screen, G_CALLBACK (on_screen_window_closed), item);
g_signal_handlers_disconnect_by_func (window, G_CALLBACK (on_window_workspace_changed), item);
g_signal_handlers_disconnect_by_func (window, G_CALLBACK (on_window_state_changed), item);
+ g_signal_handlers_disconnect_by_func (window, G_CALLBACK (on_window_icon_changed), item);
g_signal_emit (G_OBJECT (item), task_item_signals[TASK_ITEM_CLOSED_SIGNAL], 0);
}