[gnome-settings-daemon/docking-stations] Use the shared UpClient in the xrandr plugin
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/docking-stations] Use the shared UpClient in the xrandr plugin
- Date: Wed, 7 Dec 2011 19:11:40 +0000 (UTC)
commit 958a0154b828aaf2d57821370b693148225861fe
Author: Federico Mena Quintero <federico gnome org>
Date: Wed Dec 7 11:24:12 2011 -0600
Use the shared UpClient in the xrandr plugin
Signed-off-by: Federico Mena Quintero <federico gnome org>
plugins/xrandr/gsd-xrandr-manager.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/xrandr/gsd-xrandr-manager.c b/plugins/xrandr/gsd-xrandr-manager.c
index 231489c..eb7ebf1 100644
--- a/plugins/xrandr/gsd-xrandr-manager.c
+++ b/plugins/xrandr/gsd-xrandr-manager.c
@@ -1969,7 +1969,7 @@ gsd_xrandr_manager_start (GsdXrandrManager *manager,
g_signal_connect (manager->priv->rw_screen, "changed", G_CALLBACK (on_randr_event), manager);
- manager->priv->upower_client = up_client_new ();
+ manager->priv->upower_client = gnome_settings_session_get_upower_client ();
manager->priv->laptop_lid_is_closed = up_client_get_lid_is_closed (manager->priv->upower_client);
log_msg ("State of screen at startup:\n");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]