diff options
author | António Fernandes <antoniojpfernandes@gmail.com> | 2021-01-15 00:33:27 +0000 |
---|---|---|
committer | António Fernandes <antoniojpfernandes@gmail.com> | 2021-01-15 00:33:27 +0000 |
commit | 584eab51f1fdbaad9cf400efe8166c5c9b045404 (patch) | |
tree | cb11a36a43a6f82341e26b820bc912974b7574f0 /src | |
parent | 1b340ea12ec17029a577d2280a8cde5c64b394e7 (diff) | |
download | nautilus-584eab51f1fdbaad9cf400efe8166c5c9b045404.tar.gz |
list-view: Disconnect signal before clearing object
Bug introduced by me in commit 4f6013e7344f030da86aeed9d0d2e3b658a1a429
Found thanks to the criticals it was causing when leaving list view.
Diffstat (limited to 'src')
-rw-r--r-- | src/nautilus-list-view.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-list-view.c b/src/nautilus-list-view.c index ff4ca50de..97e3d19d8 100644 --- a/src/nautilus-list-view.c +++ b/src/nautilus-list-view.c @@ -3749,11 +3749,11 @@ nautilus_list_view_finalize (GObject *object) g_cancellable_cancel (list_view->details->starred_cancellable); g_clear_object (&list_view->details->starred_cancellable); - g_clear_object (&list_view->details->tag_manager); g_signal_handlers_disconnect_by_func (list_view->details->tag_manager, on_starred_files_changed, list_view); + g_clear_object (&list_view->details->tag_manager); g_free (list_view->details); |