aboutsummaryrefslogtreecommitdiffstats
path: root/lib/eel-gconf-extensions.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/eel-gconf-extensions.c')
-rw-r--r--lib/eel-gconf-extensions.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/eel-gconf-extensions.c b/lib/eel-gconf-extensions.c
index a60372d45..6e0ca59dd 100644
--- a/lib/eel-gconf-extensions.c
+++ b/lib/eel-gconf-extensions.c
@@ -741,10 +741,9 @@ eel_gconf_set_path (const char *key,
char *tilde_path;
char *converted;
- converted = g_filename_to_utf8 (value, -1, NULL, NULL, NULL);
-
- tilde_path = tilde_compress (converted);
- eel_gconf_set_string (key, tilde_path);
+ tilde_path = tilde_compress (value);
+ converted = g_filename_to_utf8 (tilde_path, -1, NULL, NULL, NULL);
+ eel_gconf_set_string (key, converted);
g_free (tilde_path);
g_free (converted);