[gnome-flashback] display-config: pass correct parameter to set_power_save_mode
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-flashback] display-config: pass correct parameter to set_power_save_mode
- Date: Wed, 3 Aug 2016 23:06:46 +0000 (UTC)
commit 5d3e5a60e43fe66dd05f100a2f9fa6822a1a6bef
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Thu Aug 4 02:03:36 2016 +0300
display-config: pass correct parameter to set_power_save_mode
.../libdisplay-config/flashback-display-config.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnome-flashback/libdisplay-config/flashback-display-config.c
b/gnome-flashback/libdisplay-config/flashback-display-config.c
index d982625..cdecdbe 100644
--- a/gnome-flashback/libdisplay-config/flashback-display-config.c
+++ b/gnome-flashback/libdisplay-config/flashback-display-config.c
@@ -67,7 +67,7 @@ power_save_mode_changed (MetaDBusDisplayConfig *skeleton,
/* If DPMS is unsupported, force the property back. */
if (manager->power_save_mode == META_POWER_SAVE_UNSUPPORTED)
{
- meta_dbus_display_config_set_power_save_mode (META_DBUS_DISPLAY_CONFIG (manager),
META_POWER_SAVE_UNSUPPORTED);
+ meta_dbus_display_config_set_power_save_mode (skeleton, META_POWER_SAVE_UNSUPPORTED);
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]