[tracker/forced-mtime-check-per-directory: 1/3] tracker-miner-fs: minor indentation fixes
- From: Aleksander Morgado <aleksm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/forced-mtime-check-per-directory: 1/3] tracker-miner-fs: minor indentation fixes
- Date: Tue, 6 Sep 2011 16:21:07 +0000 (UTC)
commit 9c83c6cfbc83d05e518d37315ac10be2d8b73856
Author: Aleksander Morgado <aleksander lanedo com>
Date: Tue Sep 6 13:22:42 2011 +0200
tracker-miner-fs: minor indentation fixes
src/miners/fs/tracker-miner-files.c | 46 +++++++++++++++++-----------------
1 files changed, 23 insertions(+), 23 deletions(-)
---
diff --git a/src/miners/fs/tracker-miner-files.c b/src/miners/fs/tracker-miner-files.c
index b7ac6a9..a12e0b5 100644
--- a/src/miners/fs/tracker-miner-files.c
+++ b/src/miners/fs/tracker-miner-files.c
@@ -801,15 +801,15 @@ set_up_mount_point (TrackerMinerFiles *miner,
"DELETE { <%s> tracker:isMounted ?unknown } WHERE { <%s> a tracker:Volume; tracker:isMounted ?unknown } ",
removable_device_urn, removable_device_urn);
- if (mount_name) {
- g_string_append_printf (queries,
- "INSERT INTO <%s> { <%s> a tracker:Volume; tracker:isMounted true; nie:title \"%s\" } ",
- removable_device_urn, removable_device_urn, mount_name);
- } else {
- g_string_append_printf (queries,
- "INSERT INTO <%s> { <%s> a tracker:Volume; tracker:isMounted true } ",
- removable_device_urn, removable_device_urn);
- }
+ if (mount_name) {
+ g_string_append_printf (queries,
+ "INSERT INTO <%s> { <%s> a tracker:Volume; tracker:isMounted true; nie:title \"%s\" } ",
+ removable_device_urn, removable_device_urn, mount_name);
+ } else {
+ g_string_append_printf (queries,
+ "INSERT INTO <%s> { <%s> a tracker:Volume; tracker:isMounted true } ",
+ removable_device_urn, removable_device_urn);
+ }
g_string_append_printf (queries,
"INSERT { GRAPH <%s> { ?do tracker:available true } } WHERE { ?do nie:dataSource <%s> OPTIONAL { ?do tracker:available ?available } FILTER (!bound(?available)) } ",
removable_device_urn, removable_device_urn);
@@ -1016,7 +1016,7 @@ init_mount_points (TrackerMinerFiles *miner_files)
set_up_mount_point (TRACKER_MINER_FILES (miner),
urn,
mount_point,
- NULL,
+ NULL,
TRUE,
accumulator);
@@ -1037,7 +1037,7 @@ init_mount_points (TrackerMinerFiles *miner_files)
set_up_mount_point (TRACKER_MINER_FILES (miner),
urn,
NULL,
- NULL,
+ NULL,
FALSE,
accumulator);
}
@@ -2019,9 +2019,9 @@ extractor_get_failsafe_metadata_cb (GObject *object,
if (error) {
uri = g_file_get_uri (data->file);
g_warning (" Got second extraction DBus error on '%s'. "
- "Adding only non-embedded metadata to the SparQL, "
- "the error was: %s",
- uri, error->message);
+ "Adding only non-embedded metadata to the SparQL, "
+ "the error was: %s",
+ uri, error->message);
g_error_free (error);
g_free (uri);
} else {
@@ -2068,17 +2068,17 @@ extractor_process_failsafe (TrackerMinerFiles *miner)
g_free (uri);
tracker_extract_client_get_metadata (data->file,
- data->mime_type,
- data->cancellable,
- extractor_get_failsafe_metadata_cb,
- data);
+ data->mime_type,
+ data->cancellable,
+ extractor_get_failsafe_metadata_cb,
+ data);
} else {
g_debug ("Failsafe extraction finished. Resuming miner...");
if (priv->failed_extraction_pause_cookie != 0) {
tracker_miner_resume (TRACKER_MINER (miner),
- priv->failed_extraction_pause_cookie,
- NULL);
+ priv->failed_extraction_pause_cookie,
+ NULL);
priv->failed_extraction_pause_cookie = 0;
}
@@ -2138,9 +2138,9 @@ extractor_get_embedded_metadata_cb (GObject *object,
if (priv->failed_extraction_pause_cookie != 0) {
priv->failed_extraction_pause_cookie =
tracker_miner_pause (TRACKER_MINER (data->miner),
- _("Extractor error, performing "
- "failsafe embedded metadata extraction"),
- NULL);
+ _("Extractor error, performing "
+ "failsafe embedded metadata extraction"),
+ NULL);
}
priv->failed_extraction_queue = g_list_prepend (priv->failed_extraction_queue, data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]