searchengine: Emit a simple warning when tracker init failed

Failure is allowed by nature of GInitable, and this avoids unnecessary
crashing of programs running with G_DEBUG=fatal-criticals.

(cherry picked from commit 6215b38e64)
This commit is contained in:
Gaël Bonithon 2023-02-09 19:26:47 +01:00
parent 8497425535
commit 857f734d83

View File

@ -394,8 +394,8 @@ gtk_search_engine_tracker3_new (void)
NULL, &error, NULL);
if (!engine)
{
g_critical ("Could not init tracker3 search engine: %s",
error->message);
g_warning ("Could not init tracker3 search engine: %s",
error->message);
g_error_free (error);
}