diff options
author | António Fernandes <antoniof@gnome.org> | 2023-04-08 22:41:58 +0100 |
---|---|---|
committer | António Fernandes <antoniof@gnome.org> | 2023-04-08 22:41:58 +0100 |
commit | 41d997680250cdb7828481cb300c09bb4f0fe16e (patch) | |
tree | 45897446c7a42f078bf8b76eb67e90b86e5e1051 /src/nautilus-self-check-functions.c | |
parent | 1135937b60fbf962c473989268887e8dc912567a (diff) | |
download | nautilus-wip/antoniof/null-date-from-tracker.tar.gz |
search-engine-tracker: Don't try to parse NULL time stringswip/antoniof/null-date-from-tracker
TrackerCursor returns NULL if it doesn't have information on the date.
https://gnome.pages.gitlab.gnome.org/tracker/docs/developer/method.SparqlCursor.get_string.html
We try to parse NULL as a date string. This is obviously wrong and
gets us a precondition failure warning, as it should.
So, if a string is NULL, just skip it.
Fixes https://gitlab.gnome.org/GNOME/nautilus/-/issues/2160
Diffstat (limited to 'src/nautilus-self-check-functions.c')
0 files changed, 0 insertions, 0 deletions