summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-04-12 14:41:42 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-04-12 14:41:42 +0000
commit05a98f92cb9eeab843727e0fa2fc052cb371109a (patch)
tree30593b257e0e7045615ba71b95185561a6134539 /src/util.h
parentba223a1a4d7cae2bba4ca0e2e55627a986175ace (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.h')
-rw-r--r--src/util.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/util.h b/src/util.h
index 3903d9f..ec72600 100644
--- a/src/util.h
+++ b/src/util.h
@@ -39,16 +39,19 @@
#define GIGABYTE_FACTOR ( 1024.0 * 1024.0 * 1024.0 )
void add_file_id_to_array(JsonObject * args, gchar * key, gint index);
-gboolean g_slist_str_set_add(GSList **list, const gchar *string);
+gboolean g_slist_str_set_add(GSList ** list, const gchar * string);
void g_str_slist_free(GSList * list);
GRegex *trg_uri_host_regex_new(void);
gchar *trg_gregex_get_first(GRegex * rx, const gchar * uri);
gboolean gconf_client_get_bool_or_true(GConfClient * gconf, gchar * key);
-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);
void response_unref(JsonObject * response);
const gchar *make_error_message(JsonObject * response, int status);
-void trg_error_dialog(GtkWindow * parent, int status, JsonObject * response);
+void trg_error_dialog(GtkWindow * parent, int status,
+ JsonObject * response);
char *tr_strltime_long(char *buf, gint64 seconds, size_t buflen);
char *tr_strltime_short(char *buf, gint64 seconds, size_t buflen);