diff options
-rw-r--r-- | plugins/xrandr/gsd-xrandr-manager.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/xrandr/gsd-xrandr-manager.c b/plugins/xrandr/gsd-xrandr-manager.c index d278397c..6cd974f5 100644 --- a/plugins/xrandr/gsd-xrandr-manager.c +++ b/plugins/xrandr/gsd-xrandr-manager.c @@ -1793,6 +1793,9 @@ status_icon_stop (GsdXrandrManager *manager) g_signal_handlers_disconnect_by_func ( priv->status_icon, G_CALLBACK (status_icon_popup_menu_cb), manager); + /* hide the icon before unreffing it; otherwise we will leak + whitespace in the notification area due to a bug in there */ + gtk_status_icon_set_visible (priv->status_icon, FALSE); g_object_unref (priv->status_icon); priv->status_icon = NULL; } |