diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2010-10-30 17:19:35 +0200 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2010-10-30 17:19:35 +0200 |
commit | f48796637854ca784f7458a387e3607917ef5990 (patch) | |
tree | 49146f35e7abde6695220fc6545dbd3eea9ad7aa /src/nautilus-application.h | |
parent | d09b45c72bb1c3573b8f1c0bc83f1d8448ba5309 (diff) | |
download | nautilus-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.h | 2 |
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 { |