From 45335a6bcb990a2e8e481d6fd25679a795e8f928 Mon Sep 17 00:00:00 2001 From: Krzysztof Kosi??ski Date: Sun, 7 Dec 2008 00:44:56 +0000 Subject: Change the way preferences are loaded to simplify unit testing (bzr r6964) --- src/application/editor.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/application/editor.cpp') diff --git a/src/application/editor.cpp b/src/application/editor.cpp index 24c811778..c0501389f 100644 --- a/src/application/editor.cpp +++ b/src/application/editor.cpp @@ -65,7 +65,8 @@ Editor::Editor (gint /*argc*/, char **argv) sp_object_type_register ("sodipodi:namedview", SP_TYPE_NAMEDVIEW); sp_object_type_register ("sodipodi:guide", SP_TYPE_GUIDE); - Inkscape::Preferences::load(); + Inkscape::Preferences *prefs = Inkscape::Preferences::get(); + prefs->load(true, false); } bool -- cgit v1.2.3