tracker r2941 - in trunk: . src/libtracker-common
- From: mr svn gnome org
- To: svn-commits-list gnome org
- Subject: tracker r2941 - in trunk: . src/libtracker-common
- Date: Wed, 18 Feb 2009 10:58:18 +0000 (UTC)
Author: mr
Date: Wed Feb 18 10:58:18 2009
New Revision: 2941
URL: http://svn.gnome.org/viewvc/tracker?rev=2941&view=rev
Log:
* src/libtracker-common/tracker-config.c:
(config_create_with_defaults): Use g_strv_length() to make the
patching here easier for Maemo.
Modified:
trunk/ChangeLog
trunk/src/libtracker-common/tracker-config.c
Modified: trunk/src/libtracker-common/tracker-config.c
==============================================================================
--- trunk/src/libtracker-common/tracker-config.c (original)
+++ trunk/src/libtracker-common/tracker-config.c Wed Feb 18 10:58:18 2009
@@ -815,10 +815,10 @@
" Set to TRUE when the home directory is in a NFS filesystem",
NULL);
-
/* Watches */
g_key_file_set_string_list (key_file, GROUP_WATCHES, KEY_WATCH_DIRECTORY_ROOTS,
- watch_directory_roots, 1);
+ watch_directory_roots,
+ g_strv_length (watch_directory_roots));
g_key_file_set_comment (key_file, GROUP_WATCHES, KEY_WATCH_DIRECTORY_ROOTS,
" List of directory roots to index and watch (separator=;)",
NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]