[tracker] libtracker-data, miners/fs: Indentation fixes
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] libtracker-data, miners/fs: Indentation fixes
- Date: Thu, 28 Apr 2011 15:45:43 +0000 (UTC)
commit d55fdb5a7a0feb0ee43360d08dd6f0d4d450181b
Author: Philip Van Hoof <philip codeminded be>
Date: Thu Apr 28 17:45:10 2011 +0200
libtracker-data, miners/fs: Indentation fixes
src/libtracker-data/tracker-db-config.c | 32 +++++++++++++++---------------
src/miners/fs/tracker-config.c | 4 +-
2 files changed, 18 insertions(+), 18 deletions(-)
---
diff --git a/src/libtracker-data/tracker-db-config.c b/src/libtracker-data/tracker-db-config.c
index 82048a6..05b54e7 100644
--- a/src/libtracker-data/tracker-db-config.c
+++ b/src/libtracker-data/tracker-db-config.c
@@ -56,8 +56,8 @@ enum {
};
static TrackerConfigMigrationEntry migration[] = {
- { G_TYPE_INT, GROUP_JOURNAL, "JournalChunkSize", "journal-chunk-size" },
- { G_TYPE_STRING, GROUP_JOURNAL, "JournalRotateDestination", "journal-rotate-destination" },
+ { G_TYPE_INT, GROUP_JOURNAL, "JournalChunkSize", "journal-chunk-size" },
+ { G_TYPE_STRING, GROUP_JOURNAL, "JournalRotateDestination", "journal-rotate-destination" },
};
G_DEFINE_TYPE (TrackerDBConfig, tracker_db_config, G_TYPE_SETTINGS);
@@ -150,26 +150,26 @@ config_finalize (GObject *object)
static void
config_constructed (GObject *object)
{
- TrackerConfigFile *config_file;
+ TrackerConfigFile *config_file;
(G_OBJECT_CLASS (tracker_db_config_parent_class)->constructed) (object);
- g_settings_delay (G_SETTINGS (object));
+ g_settings_delay (G_SETTINGS (object));
- /* Migrate keyfile-based configuration */
- config_file = tracker_config_file_new ();
- if (config_file) {
- tracker_config_file_migrate (config_file,
- G_SETTINGS (object), migration);
- g_object_unref (config_file);
- }
+ /* Migrate keyfile-based configuration */
+ config_file = tracker_config_file_new ();
+ if (config_file) {
+ tracker_config_file_migrate (config_file,
+ G_SETTINGS (object), migration);
+ g_object_unref (config_file);
+ }
}
TrackerDBConfig *
tracker_db_config_new (void)
{
return g_object_new (TRACKER_TYPE_DB_CONFIG,
- "schema", "org.freedesktop.Tracker.DB",
+ "schema", "org.freedesktop.Tracker.DB",
"path", "/org/freedesktop/tracker/db/",
NULL);
}
@@ -179,9 +179,9 @@ tracker_db_config_save (TrackerDBConfig *config)
{
g_return_val_if_fail (TRACKER_IS_DB_CONFIG (config), FALSE);
- g_settings_apply (G_SETTINGS (config));
+ g_settings_apply (G_SETTINGS (config));
- return TRUE;
+ return TRUE;
}
gint
@@ -206,7 +206,7 @@ tracker_db_config_set_journal_chunk_size (TrackerDBConfig *config,
{
g_return_if_fail (TRACKER_IS_DB_CONFIG (config));
- g_settings_set_int (G_SETTINGS (config), "journal-chunk-size", value);
+ g_settings_set_int (G_SETTINGS (config), "journal-chunk-size", value);
g_object_notify (G_OBJECT (config), "journal-chunk-size");
}
@@ -216,6 +216,6 @@ tracker_db_config_set_journal_rotate_destination (TrackerDBConfig *config,
{
g_return_if_fail (TRACKER_IS_DB_CONFIG (config));
- g_settings_set_string (G_SETTINGS (config), "journal-rotate-destination", value);
+ g_settings_set_string (G_SETTINGS (config), "journal-rotate-destination", value);
g_object_notify (G_OBJECT (config), "journal-rotate-destination");
}
diff --git a/src/miners/fs/tracker-config.c b/src/miners/fs/tracker-config.c
index 860a978..673ca91 100644
--- a/src/miners/fs/tracker-config.c
+++ b/src/miners/fs/tracker-config.c
@@ -113,8 +113,8 @@ static TrackerConfigMigrationEntry migration[] = {
{ G_TYPE_POINTER, "Indexing", "IgnoredDirectories", "ignored-directories" },
{ G_TYPE_POINTER, "Indexing", "IgnoredDirectoriesWithContent", "ignored-directories-with-content" },
{ G_TYPE_POINTER, "Indexing", "IgnoredFiles", "ignored-files" },
- { G_TYPE_INT, "Indexing", "CrawlingInterval", "crawling-interval" },
- { G_TYPE_INT, "Indexing", "RemovableDaysThreshold", "removable-days-threshold" },
+ { G_TYPE_INT, "Indexing", "CrawlingInterval", "crawling-interval" },
+ { G_TYPE_INT, "Indexing", "RemovableDaysThreshold", "removable-days-threshold" },
{ 0 }
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]