diff options
author | Martin Wehner <martin.wehner@epost.de> | 2004-01-05 21:11:57 +0000 |
---|---|---|
committer | Martin Wehner <mwehner@src.gnome.org> | 2004-01-05 21:11:57 +0000 |
commit | 0a76b1f4aac7370357e511ce7c75f2a2861334f8 (patch) | |
tree | 6221157f37d8615c36f46a34dac1eca41fb85ba0 | |
parent | bb9cc3c82694edd63bdba59c9fcf5b27801b2b04 (diff) | |
download | nautilus-0a76b1f4aac7370357e511ce7c75f2a2861334f8.tar.gz |
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.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | libnautilus-private/nautilus-icon-container.c | 3 |
2 files changed, 9 insertions, 0 deletions
@@ -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 diff --git a/libnautilus-private/nautilus-icon-container.c b/libnautilus-private/nautilus-icon-container.c index 8b6ae752a..5c1e26523 100644 --- a/libnautilus-private/nautilus-icon-container.c +++ b/libnautilus-private/nautilus-icon-container.c @@ -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, |