diff options
author | Alexandru Pandelea <alexandru.pandelea@gmail.com> | 2017-08-02 10:54:25 +0100 |
---|---|---|
committer | Alexandru Pandelea <alexandru.pandelea@gmail.com> | 2017-08-15 21:42:15 +0100 |
commit | 37693c427941d60634bad80dd7c2d0b3a8523cea (patch) | |
tree | 6c4e5401c3b6e8bd0214f00a78d8520dbbb8be5e /src/nautilus-search-engine-model.h | |
parent | afa26e43a716e70160412ce11c1c8dddfd44b6cc (diff) | |
download | nautilus-37693c427941d60634bad80dd7c2d0b3a8523cea.tar.gz |
search-engine: fix search providers handling
When starting the search providers, some provider might finish
before all providers are started, so a wrong value of providers_running
will be used, making Nautilus crash.
To fix this, keep a queue of the started providers and whenever the
value of the finised/running providers is needed, check the status of
each provider.
https://bugzilla.gnome.org/show_bug.cgi?id=785723
Diffstat (limited to 'src/nautilus-search-engine-model.h')
-rw-r--r-- | src/nautilus-search-engine-model.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nautilus-search-engine-model.h b/src/nautilus-search-engine-model.h index 16f3388fc..0b6dee30c 100644 --- a/src/nautilus-search-engine-model.h +++ b/src/nautilus-search-engine-model.h @@ -47,6 +47,5 @@ GType nautilus_search_engine_model_get_type (void); NautilusSearchEngineModel* nautilus_search_engine_model_new (void); void nautilus_search_engine_model_set_model (NautilusSearchEngineModel *model, NautilusDirectory *directory); -NautilusDirectory * nautilus_search_engine_model_get_model (NautilusSearchEngineModel *model); #endif /* NAUTILUS_SEARCH_ENGINE_MODEL_H */ |