summaryrefslogtreecommitdiff
path: root/capplets/display/xrandr-capplet.c
diff options
context:
space:
mode:
authorBłażej Szczygieł <[email protected]>2015-09-23 00:21:42 +0200
committerBłażej Szczygieł <[email protected]>2015-09-23 00:21:42 +0200
commitfae8febad4a8eeee7073f2be243252139907c741 (patch)
tree74b26bd7710574fa17fdc9e85ede2cd27a12438c /capplets/display/xrandr-capplet.c
parent5199f5223d4fcf8ed7978cbe45f8bd841a5c9e39 (diff)
downloadmate-control-center-fae8febad4a8eeee7073f2be243252139907c741.tar.bz2
mate-control-center-fae8febad4a8eeee7073f2be243252139907c741.tar.xz
Bugfix: Changing refresh rate doens't work
Diffstat (limited to 'capplets/display/xrandr-capplet.c')
-rw-r--r--capplets/display/xrandr-capplet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/capplets/display/xrandr-capplet.c b/capplets/display/xrandr-capplet.c
index bc91fd32..126084ed 100644
--- a/capplets/display/xrandr-capplet.c
+++ b/capplets/display/xrandr-capplet.c
@@ -756,7 +756,7 @@ on_rate_changed (GtkComboBox *box, gpointer data)
return;
if (get_mode (app->refresh_combo, NULL, NULL, &rate, NULL))
- rate = mate_rr_output_info_get_refresh_rate (app->current_output);
+ mate_rr_output_info_set_refresh_rate (app->current_output, rate);
foo_scroll_area_invalidate (FOO_SCROLL_AREA (app->area));
}