finch/libgnt/gnt.h

changeset 35883
44327a195f54
parent 35877
6c3ab2fd4412
child 35917
76b701912a9d
child 37139
5eb4f6b78114
--- a/finch/libgnt/gnt.h	Wed Apr 23 01:55:42 2014 +0200
+++ b/finch/libgnt/gnt.h	Wed Apr 23 12:35:57 2014 +0200
@@ -57,6 +57,17 @@
 void gnt_init(void);
 
 /**
+ * gnt_set_config_dir:
+ * @config_dir: the path to a configuration directory, may be %NULL.
+ *
+ * Change directory to store gnt configuration files (default is ~).
+ *
+ * You have to call this before #gnt_init. You might want to call this
+ * with %NULL, to free the resources, but not before a call to #gnt_quit.
+ */
+void gnt_set_config_dir(const gchar *config_dir);
+
+/**
  * gnt_main:
  *
  * Start running the mainloop for gnt.

mercurial