[tracker/miner-stdgio: 2/3] tracker-miner-fs: Remove some trailing whitespaces
- From: Adrien Bustany <abustany src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker/miner-stdgio: 2/3] tracker-miner-fs: Remove some trailing whitespaces
- Date: Wed, 11 Nov 2009 21:18:48 +0000 (UTC)
commit 188bdca99bdeb3fbd338cb0e4716faec02350080
Author: Adrien Bustany <madcat mymadcat com>
Date: Wed Nov 11 18:08:09 2009 -0300
tracker-miner-fs: Remove some trailing whitespaces
src/tracker-miner-fs/tracker-miner-files.c | 40 ++++++++++++++--------------
1 files changed, 20 insertions(+), 20 deletions(-)
---
diff --git a/src/tracker-miner-fs/tracker-miner-files.c b/src/tracker-miner-fs/tracker-miner-files.c
index f3685e6..db2c05b 100644
--- a/src/tracker-miner-fs/tracker-miner-files.c
+++ b/src/tracker-miner-fs/tracker-miner-files.c
@@ -119,10 +119,10 @@ static void low_disk_space_limit_cb (GObject *gobject,
static DBusGProxy * extractor_create_proxy (void);
static void extractor_queue_thumbnail_cb (DBusGProxy *proxy,
- const gchar *filename,
+ const gchar *filename,
const gchar *mime_type,
gpointer user_data);
-
+
static gboolean miner_files_check_file (TrackerMinerFS *fs,
GFile *file);
static gboolean miner_files_check_directory (TrackerMinerFS *fs,
@@ -180,11 +180,11 @@ tracker_miner_files_init (TrackerMinerFiles *mf)
priv->storage = tracker_storage_new ();
g_signal_connect (priv->storage, "mount-point-added",
- G_CALLBACK (mount_point_added_cb),
+ G_CALLBACK (mount_point_added_cb),
mf);
g_signal_connect (priv->storage, "mount-point-removed",
- G_CALLBACK (mount_point_removed_cb),
+ G_CALLBACK (mount_point_removed_cb),
mf);
priv->power = tracker_power_new ();
@@ -213,13 +213,13 @@ tracker_miner_files_init (TrackerMinerFiles *mf)
dbus_g_proxy_add_signal (priv->extractor_proxy, "QueueThumbnail",
G_TYPE_STRING,
- G_TYPE_STRING,
+ G_TYPE_STRING,
G_TYPE_INVALID);
dbus_g_proxy_connect_signal (priv->extractor_proxy, "QueueThumbnail",
G_CALLBACK (extractor_queue_thumbnail_cb),
NULL, NULL);
-
+
init_mount_points (mf);
}
@@ -275,7 +275,7 @@ miner_files_finalize (GObject *object)
dbus_g_proxy_disconnect_signal (priv->extractor_proxy, "QueueThumbnail",
G_CALLBACK (extractor_queue_thumbnail_cb),
NULL);
-
+
g_object_unref (priv->extractor_proxy);
g_signal_handlers_disconnect_by_func (priv->config,
@@ -411,10 +411,10 @@ miner_files_constructed (GObject *object)
for (m = mounts; m; m = m->next) {
GFile *file = g_file_new_for_path (m->data);
-
+
g_message (" Adding:'%s'", (gchar*) m->data);
tracker_miner_fs_add_directory (TRACKER_MINER_FS (mf),
- file,
+ file,
TRUE);
g_object_unref (file);
}
@@ -841,11 +841,11 @@ static gboolean
disk_space_check_cb (gpointer user_data)
{
TrackerMinerFiles *mf = user_data;
-
+
if (disk_space_check (mf)) {
/* Don't try to pause again */
if (mf->private->disk_space_pause_cookie == 0) {
- mf->private->disk_space_pause_cookie =
+ mf->private->disk_space_pause_cookie =
tracker_miner_pause (TRACKER_MINER (mf),
_("Low disk space"),
NULL);
@@ -877,7 +877,7 @@ disk_space_check_start (TrackerMinerFiles *mf)
if (limit != -1) {
g_message ("Starting disk space check for every %d seconds",
DISK_SPACE_CHECK_FREQUENCY);
- mf->private->disk_space_check_id =
+ mf->private->disk_space_check_id =
g_timeout_add_seconds (DISK_SPACE_CHECK_FREQUENCY,
disk_space_check_cb,
mf);
@@ -949,13 +949,13 @@ miner_files_check_file (TrackerMinerFS *fs,
}
basename = g_file_get_basename (file);
-
+
for (l = tracker_config_get_ignored_file_patterns (mf->private->config); l; l = l->next) {
if (g_pattern_match_string (l->data, basename)) {
goto done;
}
}
-
+
should_process = TRUE;
done:
@@ -999,16 +999,16 @@ miner_files_check_directory (TrackerMinerFS *fs,
/* FIXME: We need to check if the file is actually a
* config specified location before blanket ignoring
- * all hidden files.
+ * all hidden files.
*/
- allowed_directories =
+ allowed_directories =
tracker_config_get_index_recursive_directories (mf->private->config);
if (tracker_string_in_gslist (path, allowed_directories)) {
should_process = TRUE;
}
- allowed_directories =
+ allowed_directories =
tracker_config_get_index_single_directories (mf->private->config);
if (tracker_string_in_gslist (path, allowed_directories)) {
@@ -1102,9 +1102,9 @@ miner_files_monitor_directory (TrackerMinerFS *fs,
if (!tracker_config_get_enable_monitors (mf->private->config)) {
return FALSE;
}
-
+
/* Fallback to the check directory routine, since we don't
- * monitor anything we don't process.
+ * monitor anything we don't process.
*/
return miner_files_check_directory (fs, file);
}
@@ -1189,7 +1189,7 @@ extractor_create_proxy (void)
static void
extractor_queue_thumbnail_cb (DBusGProxy *proxy,
- const gchar *filename,
+ const gchar *filename,
const gchar *mime_type,
gpointer user_data)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]