forked from AuroraMiddleware/gtk
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:
parent
8497425535
commit
857f734d83
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user