summaryrefslogtreecommitdiff
path: root/capplets/display/xrandr-capplet.c
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-01-13 23:31:54 +0100
committerPablo Barciela <[email protected]>2018-01-13 23:31:54 +0100
commit9aa60ce09b88efd4227f8f795c54d07b2776f756 (patch)
treef08b86caf876e415d70433f59eaba3796fb50e26 /capplets/display/xrandr-capplet.c
parentd146d8f263b3d12d6e2c3fc7da1b4fc28915db57 (diff)
downloadmate-control-center-9aa60ce09b88efd4227f8f795c54d07b2776f756.tar.bz2
mate-control-center-9aa60ce09b88efd4227f8f795c54d07b2776f756.tar.xz
drop unused variables
Diffstat (limited to 'capplets/display/xrandr-capplet.c')
-rw-r--r--capplets/display/xrandr-capplet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/capplets/display/xrandr-capplet.c b/capplets/display/xrandr-capplet.c
index 4a538f43..7089a24e 100644
--- a/capplets/display/xrandr-capplet.c
+++ b/capplets/display/xrandr-capplet.c
@@ -1820,7 +1820,6 @@ on_area_paint (FooScrollArea *area,
gpointer data)
{
App *app = data;
- double scale;
GList *connected_outputs = NULL;
GList *list;
@@ -1829,10 +1828,11 @@ on_area_paint (FooScrollArea *area,
if (!app->current_configuration)
return;
- scale = compute_scale (app);
connected_outputs = list_connected_outputs (app, NULL, NULL);
#if 0
+ double scale;
+ scale = compute_scale (app);
g_debug ("scale: %f", scale);
#endif