[gnome-power-manager] Fix typo
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-power-manager] Fix typo
- Date: Sat,  5 Mar 2011 01:49:51 +0000 (UTC)
commit 28e4dedf751bec3505d25d98a7a8da7dbd51698c
Author: William Jon McCann <jmccann redhat com>
Date:   Fri Mar 4 20:47:17 2011 -0500
    Fix typo
    
    Fixes build.
 src/gpm-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gpm-manager.c b/src/gpm-manager.c
index 272dc62..0c79aa6 100644
--- a/src/gpm-manager.c
+++ b/src/gpm-manager.c
@@ -940,7 +940,7 @@ gpm_manager_lid_button_pressed (GpmManager *manager, gboolean pressed)
 	if (policy != GPM_ACTION_POLICY_SUSPEND &&
 	    policy != GPM_ACTION_POLICY_HIBERNATE) {
 #if UP_CHECK_VERSION(0,9,9)
-		if (up_client_get_lid_force_sleep (manager->priv->up_client)) {
+		if (up_client_get_lid_force_sleep (manager->priv->client)) {
 			g_warning ("to prevent damage, %s is now forced to 'suspend'",
 				   policy_key);
 			g_settings_set_enum (manager->priv->settings_gsd,
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]