[tracker-miners/wip/carlosg/tracker-3.0-api-breaks: 28/40] tracker-extract: Delay start till decorator is fully set up
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/wip/carlosg/tracker-3.0-api-breaks: 28/40] tracker-extract: Delay start till decorator is fully set up
- Date: Mon, 17 Feb 2020 12:26:44 +0000 (UTC)
commit 7cbbf414838165014c58bb0c62f5b9a9fdfd37eb
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue Dec 31 12:15:21 2019 +0100
tracker-extract: Delay start till decorator is fully set up
We need to have signals connected before the decorator proceeds
with the items remaining extraction. This used to work because the
connection setup used to be asynchronous.
src/tracker-extract/tracker-main.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/tracker-extract/tracker-main.c b/src/tracker-extract/tracker-main.c
index 177f408ff..9275d5677 100644
--- a/src/tracker-extract/tracker-main.c
+++ b/src/tracker-extract/tracker-main.c
@@ -451,7 +451,6 @@ main (int argc, char *argv[])
tracker_locale_sanity_check ();
controller = tracker_extract_controller_new (decorator, connection);
- tracker_miner_start (TRACKER_MINER (decorator));
/* Request DBus name */
dbus_name = tracker_domain_ontology_get_domain (domain_ontology, DBUS_NAME_SUFFIX);
@@ -490,6 +489,8 @@ main (int argc, char *argv[])
G_CALLBACK (on_decorator_items_available),
main_loop);
+ tracker_miner_start (TRACKER_MINER (decorator));
+
initialize_signal_handler ();
g_main_loop_run (main_loop);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]