[gnome-flashback/gnome-3-20] 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/gnome-3-20] display-config: pass correct parameter to set_power_save_mode
- Date: Wed, 3 Aug 2016 23:08:28 +0000 (UTC)
commit 1f9422266e7b252f79564c3dfdced1c201dde868
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 ab0a20c..7fc175f 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]