[tracker-miners/wip/carlosg/tracker-3.0-api-breaks: 21/25] 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: 21/25] tracker-extract: Delay start till decorator is fully set up
- Date: Tue, 14 Jan 2020 17:41:27 +0000 (UTC)
commit 3c128161fef28798ea9d4cd6b570f5f965241a48
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]