[tracker-miners/wip/carlosg/test] tracker-control: Add missing return value to DBus skeleton method
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/wip/carlosg/test] tracker-control: Add missing return value to DBus skeleton method
- Date: Fri, 23 Oct 2020 13:38:48 +0000 (UTC)
commit 1ba8a76670c5822ebbcbd41907462b57116f54d1
Author: Carlos Garnacho <carlosg gnome org>
Date: Fri Oct 23 15:36:39 2020 +0200
tracker-control: Add missing return value to DBus skeleton method
Otherwise shit randomly breaks whenever IndexLocation calls are involved.
As seen in CI.
src/tracker-control/tracker-miner-files-index.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/src/tracker-control/tracker-miner-files-index.c b/src/tracker-control/tracker-miner-files-index.c
index 75f15d2ed..9a5e20d84 100644
--- a/src/tracker-control/tracker-miner-files-index.c
+++ b/src/tracker-control/tracker-miner-files-index.c
@@ -168,7 +168,7 @@ update_indexed_files (TrackerMinerFilesIndex *index)
(const gchar * const *)
priv->indexed_files->data);
}
-static void
+static gboolean
tracker_miner_files_index_handle_index_location (TrackerDBusMinerFilesIndex *skeleton,
GDBusMethodInvocation *invocation,
const gchar *file_uri,
@@ -205,6 +205,8 @@ tracker_miner_files_index_handle_index_location (TrackerDBusMinerFilesIndex *ske
g_dbus_method_invocation_return_value (invocation, NULL);
g_object_unref (file);
+
+ return TRUE;
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]