Code

Connector tool: make connectors avoid the convex hull of shapes.
[inkscape.git] / src / application / application.cpp
index 4b1ea03df5f91ffb5e6e713206f772383b925bde..ab516b9d49ee0dcb7bbe3326175cc0d408c946ed 100644 (file)
@@ -1,7 +1,7 @@
-/** \file
- * \brief  The top level class for managing the application.
- *
- * Authors:
+/** @file
+ * @brief  The top level class for managing the application
+ */
+/* Authors:
  *   Bryce W. Harrington <bryce@bryceharrington.org>
  *   Ralf Stephan <ralf@ark.in-berlin.de>
  *
@@ -41,8 +41,7 @@ Application::Application(int argc, char **argv, bool use_gui, bool new_gui)
     if (argv != NULL) {
         _argv = argv;   // TODO:  Is this correct?
     }
-
-    Inkscape::Preferences::loadSkeleton();
+    
     if (new_gui) {
         _gtk_main = new Gtk::Main(argc, argv, true);
 
@@ -105,8 +104,6 @@ Application::run()
      */
     if (_gtk_main != NULL) {
         g_assert(_app_impl != NULL);
-
-        Inkscape::Preferences::load();
         g_warning("Running main window");
         Gtk::Window *win = static_cast<Gtk::Window*>(_app_impl->getWindow());
         g_assert(win != NULL);
@@ -126,7 +123,7 @@ Application::run()
 void
 Application::exit()
 {
-    Inkscape::Preferences::save();
+    Inkscape::Preferences::unload();
 
     if (_gtk_main != NULL) {
         _gtk_main->quit();