display: Remove unused computation
This commit is contained in:
parent
8f614133ea
commit
cda9d34f94
1 changed files with 0 additions and 6 deletions
|
@ -2005,7 +2005,6 @@ on_area_paint (FooScrollArea *area,
|
||||||
gpointer data)
|
gpointer data)
|
||||||
{
|
{
|
||||||
App *app = data;
|
App *app = data;
|
||||||
double scale;
|
|
||||||
GList *connected_outputs = NULL;
|
GList *connected_outputs = NULL;
|
||||||
GList *list;
|
GList *list;
|
||||||
|
|
||||||
|
@ -2014,13 +2013,8 @@ on_area_paint (FooScrollArea *area,
|
||||||
if (!app->current_configuration)
|
if (!app->current_configuration)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
scale = compute_scale (app);
|
|
||||||
connected_outputs = list_connected_outputs (app, NULL, NULL);
|
connected_outputs = list_connected_outputs (app, NULL, NULL);
|
||||||
|
|
||||||
#if 0
|
|
||||||
g_debug ("scale: %f", scale);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
for (list = connected_outputs; list != NULL; list = list->next)
|
for (list = connected_outputs; list != NULL; list = list->next)
|
||||||
{
|
{
|
||||||
paint_output (app, cr, g_list_position (connected_outputs, list));
|
paint_output (app, cr, g_list_position (connected_outputs, list));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue