GNOME Bugzilla – Bug 80731
Desktop icon view not being destroyed.
Last modified: 2004-12-22 21:47:04 UTC
When you turn off nautilus drawing the desktop, the desktop icon view is not destroyed. The MountParameters (user data for the UI listeners on the desktop icon view component) are holding references to the icon view. They only release these references when the ui component is finalized. The ui component is only finalized when the icon view is destroyed. The attached patch just removes the ref and unref pair. Given that the MountParameters are always destroyed when the icon view is destroyed makes the refs somewhat useless.
Created attachment 8166 [details] [review] remove the ref and unref in the mount parameters
After applying this I got crashes that were caused by bug 80733 when switching the desktop setting on and off.
Patch -> high.
In the past, there have been some subtle lifetime issues with these objects. I worry that just removing the ref/unref alone could introduce some problems. If it did, adding a weak pointer might help. On the other hand, I don't have a good idea of how to reproduce such problems. So I guess it's OK to check in this change. Feel free to commit.
Committed.