From e5039c478aa93e3e107ee9031a3cf27a6c203fea Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 17 Jan 2013 00:56:57 +0100 Subject: Path: new class "Path" wraps filesystem path strings --- src/Main.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Main.cxx') diff --git a/src/Main.cxx b/src/Main.cxx index dd269354d..ef78c92b2 100644 --- a/src/Main.cxx +++ b/src/Main.cxx @@ -238,7 +238,8 @@ glue_state_file_init(GError **error_r) return true; } - state_file = new StateFile(path, *global_partition, *main_loop); + state_file = new StateFile(Path::FromUTF8(path), + *global_partition, *main_loop); g_free(path); state_file->Read(); return true; -- cgit v1.2.3