summaryrefslogtreecommitdiff
path: root/src/nautilus-main.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-07-22 16:43:51 +0200
committerAlexander Larsson <alexl@redhat.com>2010-07-23 12:22:55 +0200
commita7163bb6c91c40a8dea2e3b6c34623a0449053a4 (patch)
tree5987eb20de47bd67d90a9834f267af99a460fb3e /src/nautilus-main.c
parente167d6f663fc2c420d939f5cbb24c6463b03e8c2 (diff)
downloadnautilus-a7163bb6c91c40a8dea2e3b6c34623a0449053a4.tar.gz
convert exit with last window to gsettings
Diffstat (limited to 'src/nautilus-main.c')
-rw-r--r--src/nautilus-main.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/nautilus-main.c b/src/nautilus-main.c
index bae626780..315165332 100644
--- a/src/nautilus-main.c
+++ b/src/nautilus-main.c
@@ -467,15 +467,14 @@ main (int argc, char *argv[])
/* Initialize the services that we use. */
LIBXML_TEST_VERSION
- /* Initialize preferences. This is needed so that proper
- * defaults are available before any preference peeking
- * happens.
+ /* Initialize preferences. This is needed to create the
+ * global GSettings objects.
*/
nautilus_global_preferences_init ();
/* exit_with_last_window being FALSE, nautilus can run without window. */
exit_with_last_window =
- eel_preferences_get_boolean (NAUTILUS_PREFERENCES_EXIT_WITH_LAST_WINDOW);
+ g_settings_get_boolean (nautilus_preferences, NAUTILUS_PREFERENCES_EXIT_WITH_LAST_WINDOW);
application = NULL;