summaryrefslogtreecommitdiff
path: root/plugins
diff options
authorAndrea Azzarone <azzaronea@gmail.com>2017-01-04 16:46:47 +0100
committerAndrea Azzarone <azzaronea@gmail.com>2017-01-04 16:46:47 +0100
commitce9e498d2c93919e4d2da4931fad66317357fb51 (patch)
tree72296209cbfa46aea617c87221636b82b03012f7 /plugins
parent3c343a0393d50413fc428245dada79a40dccab4c (diff)
GetAutomaticLogin -> AutomaticLogin
(bzr r4213.2.2)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/unityshell/src/unityshell.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/unityshell/src/unityshell.cpp b/plugins/unityshell/src/unityshell.cpp
index 70ffab1e9..c08d52402 100644
--- a/plugins/unityshell/src/unityshell.cpp
+++ b/plugins/unityshell/src/unityshell.cpp
@@ -515,7 +515,7 @@ UnityScreen::~UnityScreen()
QuicklistManager::Destroy();
decoration::DataPool::Reset();
- if (!session_->GetAutomaticLogin())
+ if (!session_->AutomaticLogin())
SaveLockStamp(false);
reset_glib_logging();
@@ -4012,8 +4012,8 @@ std::string UnityScreen::GetLockStampFile() const
std::string user_name = session_->UserName();
std::string cache_dir;
- if (session_->GetAutomaticLogin())
- cache_dir = DesktopUtilities::GetUserConfigDirectory();
+ if (session_->AutomaticLogin())
+ cache_dir = DesktopUtilities::GetUserCacheDirectory();
else
cache_dir = DesktopUtilities::GetUserRuntimeDirectory();