/*
- * Copyright (C) 2012-2013 jeanfi@gmail.com
+ * Copyright (C) 2012-2016 jeanfi@gmail.com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
{
g_settings_set_string(settings, key, value);
}
+
+const char *settings_get_notes_dir()
+{
+ return settings_get_str(SETTINGS_KEY_NOTES_DIR);
+}
+
+void settings_set_notes_dir(const char *dir)
+{
+ settings_set_str(SETTINGS_KEY_NOTES_DIR, dir);
+}