Commit b9f6ead9 authored by Martyn James Russell's avatar Martyn James Russell

Use g_strv_length() to make the patching here easier for Maemo.

	* src/libtracker-common/tracker-config.c:
	(config_create_with_defaults): Use g_strv_length() to make the
	patching here easier for Maemo.

svn path=/trunk/; revision=2941
parent 488f6549
2009-02-17 Carlos Garnacho <carlos@imendio.com> 2009-02-18 Martyn Russell <martyn@imendio.com>
* src/tracker-indexer/tracker-main.c (indexer_finished_cb): Fix * src/libtracker-common/tracker-config.c:
callback signature so we receive the correct parameters. (config_create_with_defaults): Use g_strv_length() to make the
patching here easier for Maemo.
2009-02-17 Martyn Russell <martyn@imendio.com> 2009-02-17 Martyn Russell <martyn@imendio.com>
......
...@@ -815,10 +815,10 @@ config_create_with_defaults (const gchar *filename, ...@@ -815,10 +815,10 @@ config_create_with_defaults (const gchar *filename,
" Set to TRUE when the home directory is in a NFS filesystem", " Set to TRUE when the home directory is in a NFS filesystem",
NULL); NULL);
/* Watches */ /* Watches */
g_key_file_set_string_list (key_file, GROUP_WATCHES, KEY_WATCH_DIRECTORY_ROOTS, 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, g_key_file_set_comment (key_file, GROUP_WATCHES, KEY_WATCH_DIRECTORY_ROOTS,
" List of directory roots to index and watch (separator=;)", " List of directory roots to index and watch (separator=;)",
NULL); NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment