summaryrefslogtreecommitdiff
path: root/src/nautilus-application.h
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2010-10-30 17:19:35 +0200
committerCosimo Cecchi <cosimoc@gnome.org>2010-10-30 17:19:35 +0200
commitf48796637854ca784f7458a387e3607917ef5990 (patch)
tree49146f35e7abde6695220fc6545dbd3eea9ad7aa /src/nautilus-application.h
parentd09b45c72bb1c3573b8f1c0bc83f1d8448ba5309 (diff)
downloadnautilus-f48796637854ca784f7458a387e3607917ef5990.tar.gz
application: fix interaction with SMCLient
Use late-initialization, otherwise we and up locked while reading session information. Also, don't try to use that information more than once in the app lifetime.
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 dfe8f1cca..776079ab6 100644
--- a/src/nautilus-application.h
+++ b/src/nautilus-application.h
@@ -64,6 +64,8 @@ typedef struct {
unsigned int automount_idle_id;
GDBusProxy *proxy;
gboolean session_is_active;
+
+ gboolean sm_initialized;
} NautilusApplication;
typedef struct {