summaryrefslogtreecommitdiff
path: root/src/nautilus-application.h
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2010-11-12 12:24:07 +0100
committerCosimo Cecchi <cosimoc@gnome.org>2010-11-12 12:26:09 +0100
commit7c042f64ee59d9f149252f7e78e11ca6ad7d9dbe (patch)
tree65a6e5fded95a2b873eceeb8620568ff3ea04726 /src/nautilus-application.h
parentfb574c106185e773449a6d92bd54512b2074dd01 (diff)
downloadnautilus-7c042f64ee59d9f149252f7e78e11ca6ad7d9dbe.tar.gz
application: fix interaction with the session manager
The porting to GApplication broke the session management code that took care of saving and loading existing windows if the session saving is active. We now fix it by changing a bit our startup process, so that the EggSMClient object is actually created at the right time.
Diffstat (limited to 'src/nautilus-application.h')
-rw-r--r--src/nautilus-application.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nautilus-application.h b/src/nautilus-application.h
index 0e095437e..25b6d525e 100644
--- a/src/nautilus-application.h
+++ b/src/nautilus-application.h
@@ -76,6 +76,8 @@ GType nautilus_application_get_type (void);
NautilusApplication *nautilus_application_dup_singleton (void);
+void nautilus_application_quit (NautilusApplication *self);
+
NautilusWindow * nautilus_application_get_spatial_window (NautilusApplication *application,
NautilusWindow *requesting_window,
const char *startup_id,