From 67d23452025c9cb74756a649e3fdba905f3ab892 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Mon, 19 Jan 2004 20:20:33 +0000 Subject: Make uri canonical before passing it as launch argument to make vfs happy. 2004-01-19 Marco Pesenti Gritti * embed/mozilla/ContentHandler.cpp: * embed/mozilla/MozDownload.cpp: Make uri canonical before passing it as launch argument to make vfs happy. * lib/eel-gconf-extensions.c: (eel_gconf_set_path): Do not mix utf8/locale. Thanks to chpe to notice it. --- lib/eel-gconf-extensions.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'lib/eel-gconf-extensions.c') 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); -- cgit