[gnome-settings-daemon] automount: Optimise for screensaver being active
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] automount: Optimise for screensaver being active
- Date: Sat, 24 Sep 2011 00:52:11 +0000 (UTC)
commit b5b683d1c3bc9635cbd564b3f5ec0f9ec0936fb9
Author: Bastien Nocera <hadess hadess net>
Date: Sat Sep 24 01:04:59 2011 +0100
automount: Optimise for screensaver being active
plugins/automount/gsd-automount-manager.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/plugins/automount/gsd-automount-manager.c b/plugins/automount/gsd-automount-manager.c
index 7603075..87ab652 100644
--- a/plugins/automount/gsd-automount-manager.c
+++ b/plugins/automount/gsd-automount-manager.c
@@ -180,11 +180,10 @@ check_volume_queue (GsdAutomountManager *manager)
GList *l;
GVolume *volume;
- l = manager->priv->volume_queue;
-
- if (manager->priv->screensaver_active) {
+ if (manager->priv->screensaver_active)
return;
- }
+
+ l = manager->priv->volume_queue;
while (l != NULL) {
volume = l->data;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]