Nullify stretch_icon when the icon being pointed to is removed. Fixes bug

2004-01-05  Martin Wehner  <martin.wehner@epost.de>

	* libnautilus-private/nautilus-icon-container.c:
	(icon_destroy): Nullify stretch_icon when the icon being
	pointed to is removed. Fixes bug #128713.
This commit is contained in:
Martin Wehner 2004-01-05 21:11:57 +00:00 committed by Martin Wehner
parent bb9cc3c826
commit 0a76b1f4aa
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2004-01-05 Martin Wehner <martin.wehner@epost.de>
* libnautilus-private/nautilus-icon-container.c:
(icon_destroy): Nullify stretch_icon when the icon being
pointed to is removed. Fixes bug #128713.
Sun Jan 4 14:39:49 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* cut-n-paste-code/gsequence/gsequence.c

View file

@ -4658,6 +4658,9 @@ icon_destroy (NautilusIconContainer *container,
if (details->pending_icon_to_reveal == icon) {
set_pending_icon_to_reveal (container, NULL);
}
if (details->stretch_icon == icon) {
details->stretch_icon = NULL;
}
if (icon->is_monitored) {
nautilus_icon_container_stop_monitor_top_left (container,