From 279d52a0c841cc101210aef8affc6b061c2ef6db Mon Sep 17 00:00:00 2001 From: Alan Fitton Date: Mon, 11 Apr 2011 00:17:23 +0000 Subject: for gconf integers, fallback to our own defaults --- src/util.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/util.h') 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); -- cgit v1.2.3