projects
/
gtk+3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8497425
)
searchengine: Emit a simple warning when tracker init failed
author
Gaël Bonithon
<gael@xfce.org>
Thu, 9 Feb 2023 18:26:47 +0000
(19:26 +0100)
committer
Gaël Bonithon
<gael@xfce.org>
Thu, 9 Feb 2023 22:21:04 +0000
(23:21 +0100)
Failure is allowed by nature of GInitable, and this avoids unnecessary
crashing of programs running with G_DEBUG=fatal-criticals.
(cherry picked from commit
6215b38e645f5047d52e625562efccc1e4f85867
)
gtk/gtksearchenginetracker3.c
patch
|
blob
|
history
diff --git
a/gtk/gtksearchenginetracker3.c
b/gtk/gtksearchenginetracker3.c
index 2bdb85ec5deabec7e2c2ab493a4db62b7fcaa2e5..3f054110b5796e10b77d1966e157af6e751d3632 100644
(file)
--- a/
gtk/gtksearchenginetracker3.c
+++ b/
gtk/gtksearchenginetracker3.c
@@
-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);
}