tracker r1479 - in trunk: . src/trackerd
- From: pvanhoof svn gnome org
- To: svn-commits-list gnome org
- Subject: tracker r1479 - in trunk: . src/trackerd
- Date: Mon, 26 May 2008 08:32:30 +0000 (UTC)
Author: pvanhoof
Date: Mon May 26 08:32:30 2008
New Revision: 1479
URL: http://svn.gnome.org/viewvc/tracker?rev=1479&view=rev
Log:
2008-05-28 Philip Van Hoof <pvanhoof gnome org>
* src/trackerd/tracker-process-files.c: Fixed the build for
--disable-hal (trivial patch)
Modified:
trunk/ChangeLog
trunk/src/trackerd/tracker-process-files.c
Modified: trunk/src/trackerd/tracker-process-files.c
==============================================================================
--- trunk/src/trackerd/tracker-process-files.c (original)
+++ trunk/src/trackerd/tracker-process-files.c Mon May 26 08:32:30 2008
@@ -1460,6 +1460,9 @@
}
}
+
+#ifdef HAVE_HAL
+
g_signal_connect (tracker->hal, "mount-point-added",
G_CALLBACK (process_mount_point_added_cb),
tracker);
@@ -1467,6 +1470,8 @@
G_CALLBACK (process_mount_point_removed_cb),
tracker);
+#endif
+
/* Start processing */
g_mutex_lock (tracker->files_signal_mutex);
g_mutex_lock (tracker->files_stopped_mutex);
@@ -1601,12 +1606,16 @@
tracker_dec_info_ref (info);
}
+
+#ifdef HAVE_HAL
+
g_signal_handlers_disconnect_by_func (tracker->hal,
process_mount_point_added_cb,
tracker);
g_signal_handlers_disconnect_by_func (tracker->hal,
process_mount_point_removed_cb,
tracker);
+#endif
xdg_mime_shutdown ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]