tracker r1478 - in branches/indexer-split: . src/trackerd



Author: pvanhoof
Date: Mon May 26 08:29:31 2008
New Revision: 1478
URL: http://svn.gnome.org/viewvc/tracker?rev=1478&view=rev

Log:
2008-05-26  Philip Van Hoof  <pvanhoof gnome org>

        * src/trackerd/tracker-main.c/h: Fixed the build
        for --disable-hal



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

Modified: branches/indexer-split/src/trackerd/tracker-main.c
==============================================================================
--- branches/indexer-split/src/trackerd/tracker-main.c	(original)
+++ branches/indexer-split/src/trackerd/tracker-main.c	Mon May 26 08:29:31 2008
@@ -1050,9 +1050,11 @@
 	tracker_nfs_lock_shutdown ();
 	tracker_log_shutdown ();
 
+#ifdef HAVE_HAL
         if (tracker->hal) {
                 g_object_unref (tracker->hal);
         }
+#endif
 
 	if (tracker->language) {
 		g_object_unref (tracker->language);

Modified: branches/indexer-split/src/trackerd/tracker-main.h
==============================================================================
--- branches/indexer-split/src/trackerd/tracker-main.h	(original)
+++ branches/indexer-split/src/trackerd/tracker-main.h	Mon May 26 08:29:31 2008
@@ -52,7 +52,11 @@
 
 	gboolean         reindex;
 
+
+#ifdef HAVE_HAL
 	TrackerHal      *hal;
+#endif
+
         TrackerConfig   *config;
         TrackerLanguage *language;
 



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