[tracker] tracker-extract: Indentation fixes in config
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] tracker-extract: Indentation fixes in config
- Date: Fri, 15 Apr 2011 15:33:11 +0000 (UTC)
commit a6d3a71e774757c266a121c301c6428cded86e8a
Author: Philip Van Hoof <philip codeminded be>
Date: Fri Apr 15 17:30:11 2011 +0200
tracker-extract: Indentation fixes in config
src/tracker-extract/tracker-config.c | 20 +++++++++++---------
1 files changed, 11 insertions(+), 9 deletions(-)
---
diff --git a/src/tracker-extract/tracker-config.c b/src/tracker-extract/tracker-config.c
index 0301127..fe52279 100644
--- a/src/tracker-extract/tracker-config.c
+++ b/src/tracker-extract/tracker-config.c
@@ -64,11 +64,11 @@ tracker_config_class_init (TrackerConfigClass *klass)
g_object_class_install_property (object_class,
PROP_VERBOSITY,
g_param_spec_enum ("verbosity",
- "Log verbosity",
- "Log verbosity (0=errors, 1=minimal, 2=detailed, 3=debug)",
- TRACKER_TYPE_VERBOSITY,
- TRACKER_VERBOSITY_ERRORS,
- G_PARAM_READWRITE));
+ "Log verbosity",
+ "Log verbosity (0=errors, 1=minimal, 2=detailed, 3=debug)",
+ TRACKER_TYPE_VERBOSITY,
+ TRACKER_VERBOSITY_ERRORS,
+ G_PARAM_READWRITE));
g_object_class_install_property (object_class,
PROP_MAX_BYTES,
@@ -76,7 +76,7 @@ tracker_config_class_init (TrackerConfigClass *klass)
"Max Bytes",
"Maximum number of UTF-8 bytes to extract per file [0->10485760]",
0, 1024 * 1024 * 10,
- 1024 * 1024,
+ 1024 * 1024,
G_PARAM_READWRITE));
}
@@ -163,9 +163,9 @@ TrackerConfig *
tracker_config_new (void)
{
return g_object_new (TRACKER_TYPE_CONFIG,
- "schema", "org.freedesktop.Tracker.Extract",
- "path", "/org/freedesktop/tracker/extract/",
- NULL);
+ "schema", "org.freedesktop.Tracker.Extract",
+ "path", "/org/freedesktop/tracker/extract/",
+ NULL);
}
gint
@@ -176,6 +176,7 @@ tracker_config_get_verbosity (TrackerConfig *config)
g_return_val_if_fail (TRACKER_IS_CONFIG (config), TRACKER_VERBOSITY_ERRORS);
g_object_get (config, "verbosity", &verbosity, NULL);
+
return verbosity;
}
@@ -197,6 +198,7 @@ tracker_config_get_max_bytes (TrackerConfig *config)
g_return_val_if_fail (TRACKER_IS_CONFIG (config), 0);
g_object_get (config, "max-bytes", &max_bytes, NULL);
+
return max_bytes;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]