diff options
Diffstat (limited to 'libdino/src/util.vala')
-rw-r--r-- | libdino/src/util.vala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libdino/src/util.vala b/libdino/src/util.vala index 03d6ee26..85047dd8 100644 --- a/libdino/src/util.vala +++ b/libdino/src/util.vala @@ -20,6 +20,10 @@ public class SearchPathGenerator { } } +public static string get_storage_dir() { + return Path.build_filename(Environment.get_user_data_dir(), "dino"); +} + [CCode (cname = "dino_gettext", cheader_filename = "dino_i18n.h")] public static extern unowned string _(string s); |