[gnome-control-center] display: Remove unused computation
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] display: Remove unused computation
- Date: Fri, 4 Feb 2011 16:42:23 +0000 (UTC)
commit cda9d34f941263bc72a39cd18cf378f2264eb182
Author: Bastien Nocera <hadess hadess net>
Date: Fri Feb 4 03:37:30 2011 +0000
display: Remove unused computation
panels/display/xrandr-capplet.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/panels/display/xrandr-capplet.c b/panels/display/xrandr-capplet.c
index f3a1c52..26aacea 100644
--- a/panels/display/xrandr-capplet.c
+++ b/panels/display/xrandr-capplet.c
@@ -2005,7 +2005,6 @@ on_area_paint (FooScrollArea *area,
gpointer data)
{
App *app = data;
- double scale;
GList *connected_outputs = NULL;
GList *list;
@@ -2014,13 +2013,8 @@ on_area_paint (FooScrollArea *area,
if (!app->current_configuration)
return;
- scale = compute_scale (app);
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)
{
paint_output (app, cr, g_list_position (connected_outputs, list));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]