[tracker-miners/wip/carlosg/cli-split: 4/23] libtracker-control: Let miner_manager_index_file accept a GCancellable
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/wip/carlosg/cli-split: 4/23] libtracker-control: Let miner_manager_index_file accept a GCancellable
- Date: Sun, 29 Dec 2019 21:48:48 +0000 (UTC)
commit 671b666af7fdfb4724f21cdc4fdacf1608088081
Author: Debarshi Ray <debarshir gnome org>
Date: Mon Sep 4 13:32:17 2017 +0200
libtracker-control: Let miner_manager_index_file accept a GCancellable
The Since tag was bumped because the method's signature has changed.
It is not backwards compatible with the one that was added in 0.10.
https://bugzilla.gnome.org/show_bug.cgi?id=787246
src/tracker/tracker-index.c | 2 +-
src/tracker/tracker-reset.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/tracker/tracker-index.c b/src/tracker/tracker-index.c
index 9658652b0..a759c40c3 100644
--- a/src/tracker/tracker-index.c
+++ b/src/tracker/tracker-index.c
@@ -162,7 +162,7 @@ index_or_reindex_file (void)
GFile *file;
file = g_file_new_for_commandline_arg (*p);
- tracker_miner_manager_index_file (manager, file, &error);
+ tracker_miner_manager_index_file (manager, file, NULL, &error);
if (error) {
g_printerr ("%s: %s\n",
diff --git a/src/tracker/tracker-reset.c b/src/tracker/tracker-reset.c
index fa7a2eeec..2f4ee250e 100644
--- a/src/tracker/tracker-reset.c
+++ b/src/tracker/tracker-reset.c
@@ -190,7 +190,7 @@ delete_info_recursively (GFile *file)
/* Request reindexing of this data, it was previously in the store. */
miner_manager = tracker_miner_manager_new_full (FALSE, NULL);
- tracker_miner_manager_index_file (miner_manager, file, &error);
+ tracker_miner_manager_index_file (miner_manager, file, NULL, &error);
g_object_unref (miner_manager);
if (error)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]