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/util.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/util.c')
-rw-r--r-- | src/util.c | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -86,9 +86,12 @@ void trg_error_dialog(GtkWindow * parent, int status, g_free((gpointer) msg); } -gint gconf_client_get_int_or_default(GConfClient * gconf, const gchar *key, int deflt, GError **error) +gint gconf_client_get_int_or_default(GConfClient * gconf, + const gchar * key, int deflt, + GError ** error) { - GConfValue *value = gconf_client_get_without_default(gconf, key, error); + GConfValue *value = + gconf_client_get_without_default(gconf, key, error); gint ret; if (value) { ret = gconf_value_get_int(value); @@ -99,11 +102,11 @@ gint gconf_client_get_int_or_default(GConfClient * gconf, const gchar *key, int return ret; } -gboolean g_slist_str_set_add(GSList **list, const gchar *string) +gboolean g_slist_str_set_add(GSList ** list, const gchar * string) { GSList *li; for (li = *list; li != NULL; li = g_slist_next(li)) - if (!g_strcmp0((gchar*)li->data, string)) + if (!g_strcmp0((gchar *) li->data, string)) return FALSE; *list = g_slist_append(*list, g_strdup(string)); @@ -113,7 +116,8 @@ gboolean g_slist_str_set_add(GSList **list, const gchar *string) gboolean gconf_client_get_bool_or_true(GConfClient * gconf, gchar * key) { GError *error = NULL; - GConfValue *value = gconf_client_get_without_default(gconf, key, &error); + GConfValue *value = + gconf_client_get_without_default(gconf, key, &error); gboolean ret = TRUE; if (error) { g_error_free(error); |