From 1ff51f9dd410921f6b9a89f74244218e4d225c1a Mon Sep 17 00:00:00 2001 From: Corey Berla Date: Sun, 30 Apr 2023 08:14:38 -0700 Subject: name-cell: Clear loading timeout on finalize Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2882 --- src/nautilus-name-cell.c | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.1