tracker r1436 - in branches/indexer-split: . src/tracker-indexer



Author: carlosg
Date: Wed May 14 14:55:02 2008
New Revision: 1436
URL: http://svn.gnome.org/viewvc/tracker?rev=1436&view=rev

Log:
2008-05-14  Carlos Garnacho  <carlos imendio com>

        * src/tracker-indexer/tracker-indexer.c (process_module): just print
        one warning when some module couldn't be loaded.


Modified:
   branches/indexer-split/ChangeLog
   branches/indexer-split/src/tracker-indexer/tracker-indexer.c

Modified: branches/indexer-split/src/tracker-indexer/tracker-indexer.c
==============================================================================
--- branches/indexer-split/src/tracker-indexer/tracker-indexer.c	(original)
+++ branches/indexer-split/src/tracker-indexer/tracker-indexer.c	Wed May 14 14:55:02 2008
@@ -365,6 +365,9 @@
 
 	priv = TRACKER_INDEXER_GET_PRIVATE (indexer);
 	module = g_hash_table_lookup (priv->indexer_modules, module_name);
+
+	g_return_if_fail (module != NULL);
+
 	dirs = tracker_indexer_module_get_directories (module);
 
 	g_return_if_fail (dirs != NULL);



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