[gnome-settings-daemon] power: Use correct type for inhibitor flag



commit 21278b31bc2fcce50769df55195d983ca8a6871a
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Jan 25 09:38:52 2013 +0100

    power: Use correct type for inhibitor flag

 plugins/power/gsd-power-manager.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plugins/power/gsd-power-manager.c b/plugins/power/gsd-power-manager.c
index 7959714..1d6a90f 100644
--- a/plugins/power/gsd-power-manager.c
+++ b/plugins/power/gsd-power-manager.c
@@ -2599,9 +2599,9 @@ idle_is_session_idle (GsdPowerManager *manager)
 }
 
 static gboolean
-idle_is_session_inhibited (GsdPowerManager *manager,
-                           guint            mask,
-                           gboolean        *is_inhibited)
+idle_is_session_inhibited (GsdPowerManager  *manager,
+                           GsmInhibitorFlag  mask,
+                           gboolean         *is_inhibited)
 {
         GVariant *retval = NULL;
         GError *error = NULL;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]