Code

regression patch from 388257
[inkscape.git] / src / application / editor.cpp
index 8f9638f82f40555caad580524ee5d711893be7a1..49010efdc50dae1291859edfd523471bf9736811 100644 (file)
@@ -1,9 +1,9 @@
-/** \file
- * \brief Editor Implementation class declaration for Inkscape.  This
+/** @file
+ * @brief Editor class declaration.  This
  *        singleton class implements much of the functionality of the former 
  *        'inkscape' object and its services and signals.
- *
- * Authors:
+ */
+/* Authors:
  *   Bryce W. Harrington <bryce@bryceharrington.org>
  *   Derek P. Moore <derekm@hackunix.org>
  *   Ralf Stephan <ralf@ark.in-berlin.de>
@@ -65,7 +65,7 @@ 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::get(); // Ensure preferences are loaded
 }
 
 bool
@@ -331,7 +331,7 @@ Editor::exit()
 {
     //emit shutdown signal so that dialogs could remember layout
     _shutdown_signal.emit();
-    Inkscape::Preferences::save();
+    Inkscape::Preferences::unload();
 }
 
 //==================================================================