projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41490f9
)
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 18:46:30 +0000
(19:46 +0100)
Failure is allowed by nature of GInitable, and this avoids unnecessary
crashing of programs running with G_DEBUG=fatal-criticals.
gtk/gtksearchenginetracker3.c
patch
|
blob
|
history
diff --git
a/gtk/gtksearchenginetracker3.c
b/gtk/gtksearchenginetracker3.c
index c9c3eebe981b2d477f629e927c97566b3c0549c1..25f6576c1f986101788c8ac2bcde7a1180f1af53 100644
(file)
--- a/
gtk/gtksearchenginetracker3.c
+++ b/
gtk/gtksearchenginetracker3.c
@@
-372,8
+372,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);
}