[tracker] tracker-extract: Mark text extractor as thread aware



commit 16910847103b689076d7dc4cf243713b003befc3
Author: Carlos Garnacho <carlosg gnome org>
Date:   Thu May 12 11:00:36 2011 +0200

    tracker-extract: Mark text extractor as thread aware

 src/tracker-extract/tracker-extract-text.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-text.c b/src/tracker-extract/tracker-extract-text.c
index a93fe0b..f5f312e 100644
--- a/src/tracker-extract/tracker-extract-text.c
+++ b/src/tracker-extract/tracker-extract-text.c
@@ -73,6 +73,14 @@ get_file_content (const gchar  *uri,
 }
 
 G_MODULE_EXPORT gboolean
+tracker_extract_module_init (TrackerModuleThreadAwareness  *thread_awareness_ret,
+                             GError                       **error)
+{
+	*thread_awareness_ret = TRACKER_MODULE_MULTI_THREAD;
+	return TRUE;
+}
+
+G_MODULE_EXPORT gboolean
 tracker_extract_get_metadata (const gchar          *uri,
                               const gchar          *mimetype,
                               TrackerSparqlBuilder *preupdate,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]