diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2008-09-16 17:15:22 +0000 |
|---|---|---|
| committer | tweenk <tweenk@users.sourceforge.net> | 2008-09-16 17:15:22 +0000 |
| commit | 9d87d30b72145fdee954992a9dc70f8c60174d7d (patch) | |
| tree | 194a94ece6ed668ad7dc529de2cdd09b7565c6fe /src/inkview.cpp | |
| parent | fix leak of the arena and arenaitem (diff) | |
| download | inkscape-9d87d30b72145fdee954992a9dc70f8c60174d7d.tar.gz inkscape-9d87d30b72145fdee954992a9dc70f8c60174d7d.zip | |
Refactored preferences handling into a new version of
the Inkscape::Preferences class. Removed all use of
prefs_get_string_attribute(), pref_path_get_nth_child() and
create_pref() in favor of the new API. Replaced some "0 or 1" integer
preferences with booleans.
(bzr r6823)
Diffstat (limited to 'src/inkview.cpp')
| -rw-r--r-- | src/inkview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inkview.cpp b/src/inkview.cpp index ade2b6d42..fee18612d 100644 --- a/src/inkview.cpp +++ b/src/inkview.cpp @@ -210,7 +210,8 @@ main (int argc, const char **argv) LIBXML_TEST_VERSION Inkscape::GC::init(); - Inkscape::Preferences::loadSkeleton(); + Inkscape::Preferences::use_gui = false; + Inkscape::Preferences::load(); gtk_init (&argc, (char ***) &argv); @@ -234,7 +235,6 @@ main (int argc, const char **argv) ss.fullscreen = false; inkscape = (Inkscape::Application *)g_object_new (SP_TYPE_INKSCAPE, NULL); - Inkscape::Preferences::load(); // starting at where the commandline options stopped parsing because // we want all the files to be in the list |
