From 075d8e0cc6baa1cb489fd8857dc1db05f3b1e95f Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Wed, 7 Jul 2004 13:24:09 +0000 Subject: Don't convert filename encoding here, since we use it as UTF-8 in 2004-07-07 Christian Persch * embed/print-dialog.c: (ephy_print_get_print_info): Don't convert filename encoding here, since we use it as UTF-8 in MozillaPrivate. --- embed/print-dialog.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'embed/print-dialog.c') diff --git a/embed/print-dialog.c b/embed/print-dialog.c index 879cd21ee..c752a8ce0 100755 --- a/embed/print-dialog.c +++ b/embed/print-dialog.c @@ -168,11 +168,7 @@ ephy_print_get_print_info (void) filename = eel_gconf_get_string (print_props[FILE_PROP].pref); if (filename != NULL) { - char *expanded; - - expanded = gnome_vfs_expand_initial_tilde (filename); - info->file = g_filename_to_utf8 (expanded, -1, NULL, NULL, NULL); - g_free (expanded); + info->file = gnome_vfs_expand_initial_tilde (filename); } else { -- cgit v1.2.3