diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2011-04-12 14:41:42 +0000 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2011-04-12 14:41:42 +0000 |
commit | 05a98f92cb9eeab843727e0fa2fc052cb371109a (patch) | |
tree | 30593b257e0e7045615ba71b95185561a6134539 /src/trg-client.c | |
parent | ba223a1a4d7cae2bba4ca0e2e55627a986175ace (diff) |
tidy sources with GNU indent after recent changes. on seconds thoughts, don't install docs with autotools, leave it to the package manager.
Diffstat (limited to 'src/trg-client.c')
-rw-r--r-- | src/trg-client.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/trg-client.c b/src/trg-client.c index d2e0cf3..14f9041 100644 --- a/src/trg-client.c +++ b/src/trg-client.c @@ -45,7 +45,9 @@ trg_client *trg_init_client() client = g_new0(trg_client, 1); client->gconf = gconf_client_get_default(); client->updateMutex = g_mutex_new(); - client->activeOnlyUpdate = gconf_client_get_bool(client->gconf, TRG_GCONF_KEY_UPDATE_ACTIVE_ONLY, NULL); + client->activeOnlyUpdate = + gconf_client_get_bool(client->gconf, + TRG_GCONF_KEY_UPDATE_ACTIVE_ONLY, NULL); return client; } @@ -80,7 +82,9 @@ int trg_client_populate_with_settings(trg_client * tc, GConfClient * gconf) g_free(tc->password); tc->password = NULL; - port = gconf_client_get_int_or_default(gconf, TRG_GCONF_KEY_PORT, TRG_PORT_DEFAULT, &error); + port = + gconf_client_get_int_or_default(gconf, TRG_GCONF_KEY_PORT, + TRG_PORT_DEFAULT, &error); check_for_error(error); host = gconf_client_get_string(gconf, TRG_GCONF_KEY_HOSTNAME, &error); @@ -97,7 +101,9 @@ int trg_client_populate_with_settings(trg_client * tc, GConfClient * gconf) g_free(host); tc->interval = - gconf_client_get_int_or_default(gconf, TRG_GCONF_KEY_UPDATE_INTERVAL, TRG_INTERVAL_DEFAULT, &error); + gconf_client_get_int_or_default(gconf, + TRG_GCONF_KEY_UPDATE_INTERVAL, + TRG_INTERVAL_DEFAULT, &error); check_for_error(error); if (tc->interval < 1) tc->interval = TRG_INTERVAL_DEFAULT; |