summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorey Berla <corey@berla.me>2023-04-30 08:14:38 -0700
committerCorey Berla <corey@berla.me>2023-05-04 20:42:02 +0000
commit1ff51f9dd410921f6b9a89f74244218e4d225c1a (patch)
tree1a08746f8a061ef8015904326726ad3ff56eba2b
parent6168784a5288b854450c8fe5b4078b155220cd25 (diff)
downloadnautilus-1ff51f9dd410921f6b9a89f74244218e4d225c1a.tar.gz
name-cell: Clear loading timeout on finalize
Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2882
-rw-r--r--src/nautilus-name-cell.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nautilus-name-cell.c b/src/nautilus-name-cell.c
index b4ad20e52..fa1ff0fa5 100644
--- a/src/nautilus-name-cell.c
+++ b/src/nautilus-name-cell.c
@@ -346,6 +346,7 @@ nautilus_name_cell_finalize (GObject *object)
{
NautilusNameCell *self = (NautilusNameCell *) object;
+ g_clear_handle_id (&self->loading_timeout_id, g_source_remove);
g_clear_object (&self->item_signal_group);
g_clear_object (&self->file_path_base_location);
G_OBJECT_CLASS (nautilus_name_cell_parent_class)->finalize (object);