diff options
author | Alexander Larsson <alexl@redhat.com> | 2003-05-23 15:38:12 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2003-05-23 15:38:12 +0000 |
commit | e69640f99e62b694f862dc55d4bc0eaa908c309e (patch) | |
tree | 6b55813ec3036656bbdf6d9d71ca1f59241a3456 /libnautilus-private/nautilus-desktop-link.c | |
parent | 9af58231dec2e98f5ad4510396424365e75331de (diff) | |
download | nautilus-e69640f99e62b694f862dc55d4bc0eaa908c309e.tar.gz |
Don't ref directory twice. Rename finalizer.
2003-05-23 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-desktop-icon-file.c:
Don't ref directory twice. Rename finalizer.
* libnautilus-private/nautilus-desktop-link-monitor.c:
unref monitor on shutdown
Unref correct object in finalize
* libnautilus-private/nautilus-desktop-link.c:
unref icon file in finalizer.
Diffstat (limited to 'libnautilus-private/nautilus-desktop-link.c')
-rw-r--r-- | libnautilus-private/nautilus-desktop-link.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libnautilus-private/nautilus-desktop-link.c b/libnautilus-private/nautilus-desktop-link.c index f97209612..b5270d616 100644 --- a/libnautilus-private/nautilus-desktop-link.c +++ b/libnautilus-private/nautilus-desktop-link.c @@ -394,6 +394,8 @@ desktop_link_finalize (GObject *object) if (link->details->icon_file != NULL) { nautilus_desktop_icon_file_remove (link->details->icon_file); + nautilus_file_unref (NAUTILUS_FILE (link->details->icon_file)); + link->details->icon_file = NULL; } if (link->details->type == NAUTILUS_DESKTOP_LINK_HOME) { |