From ce9e498d2c93919e4d2da4931fad66317357fb51 Mon Sep 17 00:00:00 2001 From: Andrea Azzarone Date: Wed, 4 Jan 2017 16:46:47 +0100 Subject: GetAutomaticLogin -> AutomaticLogin (bzr r4213.2.2) --- plugins/unityshell/src/unityshell.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins') 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(); -- cgit v1.2.3