[gnome-power-manager] trivial: fix a compile error for new versions of UPower
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-power-manager] trivial: fix a compile error for new versions of UPower
- Date: Mon, 10 Jan 2011 15:58:55 +0000 (UTC)
commit 719940c805e6d405b29605d3945c293068554785
Author: Richard Hughes <richard hughsie com>
Date: Mon Jan 10 15:59:36 2011 +0000
trivial: fix a compile error for new versions of UPower
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 87da12c..812bbb1 100644
--- a/src/gpm-manager.c
+++ b/src/gpm-manager.c
@@ -920,7 +920,7 @@ gpm_manager_lid_button_pressed (GpmManager *manager, gboolean pressed)
#if UP_CHECK_VERSION(0,9,8)
/* are we docked? */
- if (up_client_get_is_docked (manager->priv->up_client)) {
+ if (up_client_get_is_docked (manager->priv->client)) {
g_debug ("ignoring lid closed action because we are docked");
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]