summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-04-11 00:17:23 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-04-11 00:17:23 +0000
commit279d52a0c841cc101210aef8affc6b061c2ef6db (patch)
tree89352997a45cd142af77fbcecc1a69b93248f780 /src/util.h
parentdba8e3c7dd7322dab486063c85487f1f79ee5db6 (diff)
for gconf integers, fallback to our own defaults
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 4da70fb..4fc09a4 100644
--- a/src/util.h
+++ b/src/util.h
@@ -43,6 +43,7 @@ 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);
void response_unref(JsonObject * response);
const gchar *make_error_message(JsonObject * response, int status);