aboutsummaryrefslogtreecommitdiff
path: root/src/Main.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Main.cxx')
-rw-r--r--src/Main.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Main.cxx b/src/Main.cxx
index dd269354..ef78c92b 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;