[tracker-miners] tracker-miner-fs: Fix typo in 40a86cfd459
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners] tracker-miner-fs: Fix typo in 40a86cfd459
- Date: Thu, 27 Aug 2020 10:15:07 +0000 (UTC)
commit 138fe53673bb93c0b8e1cc3f21d75b62c077016a
Author: Carlos Garnacho <carlosg gnome org>
Date: Thu Aug 27 12:09:44 2020 +0200
tracker-miner-fs: Fix typo in 40a86cfd459
Assign the property to the resource that was intended.
src/miners/fs/tracker-miner-files.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/miners/fs/tracker-miner-files.c b/src/miners/fs/tracker-miner-files.c
index 89ed71f6e..c8670c3ca 100644
--- a/src/miners/fs/tracker-miner-files.c
+++ b/src/miners/fs/tracker-miner-files.c
@@ -2205,7 +2205,7 @@ process_file_cb (GObject *object,
time_ = g_file_info_get_attribute_uint64 (file_info, G_FILE_ATTRIBUTE_TIME_MODIFIED);
time_str = tracker_date_to_string (time_);
- tracker_resource_set_string (resource, "nfo:fileLastModified", time_str);
+ tracker_resource_set_string (graph_file, "nfo:fileLastModified", time_str);
g_free (time_str);
graph_file_str = tracker_resource_print_sparql_update (graph_file,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]