summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-08-27 17:15:31 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-08-27 17:15:31 +0000
commitbd758ee4fc423b9ca152a01f897609daa656c938 (patch)
tree0378306b5b007f38f0c4f6c0d868215f70fd70d6 /src/util.h
parentb8a1599a2ab9eafd496ba23179dda97d6e83e917 (diff)
Profile support! Please test and report bugs, as the config system is totally rewritten and may not be perfect. No more GConf (trying to implement profiles with this was UGLY), settings now (for most) live in JSON at $HOME/.config/transmission-remote-gtk/config.json. Hopefully windows support will be easier without GConf.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/util.h b/src/util.h
index 7d85e41..3b0d695 100644
--- a/src/util.h
+++ b/src/util.h
@@ -23,7 +23,6 @@
#define UTIL_H_
#include <gtk/gtk.h>
-#include <gconf/gconf-client.h>
#include <glib-object.h>
#include <json-glib/json-glib.h>
@@ -41,15 +40,9 @@
#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);
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);
void trg_error_dialog(GtkWindow * parent, int status,