diff options
Diffstat (limited to 'mate-volume-control/sound-theme-file-utils.c')
-rw-r--r-- | mate-volume-control/sound-theme-file-utils.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mate-volume-control/sound-theme-file-utils.c b/mate-volume-control/sound-theme-file-utils.c index 1de9886..0897954 100644 --- a/mate-volume-control/sound-theme-file-utils.c +++ b/mate-volume-control/sound-theme-file-utils.c @@ -44,9 +44,10 @@ char * custom_theme_dir_path (const char *child) { static char *dir = NULL; - const char *data_dir; if (dir == NULL) { + const char *data_dir; + data_dir = g_get_user_data_dir (); dir = g_build_filename (data_dir, "sounds", CUSTOM_THEME_NAME, NULL); } |