diff options
| author | Andrea Azzarone <azzaronea@gmail.com> | 2014-10-21 17:31:27 +0200 |
|---|---|---|
| committer | Andrea Azzarone <azzaronea@gmail.com> | 2014-10-21 17:31:27 +0200 |
| commit | bddd3ad3768c0993e9bfdfac32fcf4cdac49c54f (patch) | |
| tree | 0dd4c03c219d05a633d6dcc0769c2b2f4889eaf7 /lockscreen | |
| parent | ffe6978c20fee2037a6182cb1b301e90bf7bc0ec (diff) | |
Remove suspending/resuming signals from UScreen.
(bzr r3874.1.10)
Diffstat (limited to 'lockscreen')
| -rw-r--r-- | lockscreen/LockScreenController.cpp | 6 | ||||
| -rw-r--r-- | lockscreen/LockScreenController.h | 1 |
2 files changed, 1 insertions, 6 deletions
diff --git a/lockscreen/LockScreenController.cpp b/lockscreen/LockScreenController.cpp index 69b5b6f59..dac382e0d 100644 --- a/lockscreen/LockScreenController.cpp +++ b/lockscreen/LockScreenController.cpp @@ -20,6 +20,7 @@ #include "LockScreenController.h" #include <UnityCore/DBusIndicators.h> +#include <UnityCore/GLibDBusProxy.h> #include <NuxCore/Logger.h> #include "LockScreenShield.h" @@ -79,11 +80,6 @@ Controller::Controller(DBusManager::Ptr const& dbus_manager, }); hidden_window_connection_->block(); - /*suspend_connection_ = uscreen->suspending.connect([this] { - if (Settings::Instance().lock_on_suspend()) - session_manager_->PromptLockScreen(); - });*/ - suspend_notifier_->RegisterInterest([this](){ if (Settings::Instance().lock_on_suspend()) session_manager_->PromptLockScreen(); diff --git a/lockscreen/LockScreenController.h b/lockscreen/LockScreenController.h index 8c49693db..e769778e9 100644 --- a/lockscreen/LockScreenController.h +++ b/lockscreen/LockScreenController.h @@ -99,7 +99,6 @@ private: BlurType old_blur_type_; connection::Wrapper uscreen_connection_; - connection::Wrapper suspend_connection_; connection::Wrapper hidden_window_connection_; connection::Manager primary_shield_connections_; |
