summaryrefslogtreecommitdiff
path: root/src/nautilus-list-view.c
diff options
context:
space:
mode:
authorAntónio Fernandes <antoniof@gnome.org>2022-04-02 19:19:05 +0100
committerAntónio Fernandes <antoniof@gnome.org>2022-05-30 10:12:10 +0100
commitdf78c517516cec20892f2a108df47613153ddf5b (patch)
treee97afe8454492eb73a804c06a6abab5740676498 /src/nautilus-list-view.c
parent39e98edca46af9bb4e6e32147a20aa8d20f2c356 (diff)
downloadnautilus-df78c517516cec20892f2a108df47613153ddf5b.tar.gz
tag-manager: Use regular initialization
Somehow we have ended up in a situation where the singleton object is not initialized on creation but instead when requires the NautilusApplication code to pass a GCancellable instance in order to complete the initialization. The passed cancellable pointer is stored by the application object in order to cancel it on finalization, but there is no other usage for this cancellabled from outside of the NautilusTagManager code. So, we can just cancel it in NautilusTagManager::finalize, such that there is no need for NautilusApplication to pass or store it. This way, we can move the initalization from ::set_cancellable() into ::init instead.
Diffstat (limited to 'src/nautilus-list-view.c')
0 files changed, 0 insertions, 0 deletions