[gnome-control-center] display: Fix underscanning switch [de]activating the output instead



commit 47919bcfb12b542b1fb3a56b835f178d510944ee
Author: Rui Matos <tiagomatos gmail com>
Date:   Tue Aug 22 17:59:17 2017 +0200

    display: Fix underscanning switch [de]activating the output instead

 panels/display/cc-display-panel.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/panels/display/cc-display-panel.c b/panels/display/cc-display-panel.c
index e244496..285ec5a 100644
--- a/panels/display/cc-display-panel.c
+++ b/panels/display/cc-display-panel.c
@@ -1236,8 +1236,8 @@ underscanning_switch_active (CcDisplayPanel *panel,
                              GParamSpec     *pspec,
                              GtkWidget      *button)
 {
-  cc_display_monitor_set_active (panel->priv->current_output,
-                                 gtk_switch_get_active (GTK_SWITCH (button)));
+  cc_display_monitor_set_underscanning (panel->priv->current_output,
+                                        gtk_switch_get_active (GTK_SWITCH (button)));
   update_apply_button (panel);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]