[gnome-control-center] RANDR - remove dead code



commit e2a0d731ac8d2c50b2b9218c7cc7a261015b441a
Author: Federico Mena Quintero <federico novell com>
Date:   Thu Aug 6 11:39:47 2009 -0500

    RANDR - remove dead code
    
    Signed-off-by: Federico Mena Quintero <federico novell com>

 capplets/display/xrandr-capplet.c |   19 -------------------
 1 files changed, 0 insertions(+), 19 deletions(-)
---
diff --git a/capplets/display/xrandr-capplet.c b/capplets/display/xrandr-capplet.c
index 0187485..9113152 100644
--- a/capplets/display/xrandr-capplet.c
+++ b/capplets/display/xrandr-capplet.c
@@ -124,7 +124,6 @@ on_screen_changed (GnomeRRScreen *scr,
 {
     GnomeRRConfig *current;
     App *app = data;
-    int i;
 
     current = gnome_rr_config_new_current (app->screen);
 
@@ -134,15 +133,6 @@ on_screen_changed (GnomeRRScreen *scr,
     app->current_configuration = current;
     app->current_output = NULL;
 
-#if 0
-    for (i = 0; app->current_configuration->outputs[i] != NULL; ++i)
-    {
-	GnomeOutputInfo *o = app->current_configuration->outputs[i];
-
-	g_debug ("  output %s %s: %d %d %d %d", o->name, o->on? "on" : "off", o->x, o->y, o->width, o->height);
-    }
-#endif
-
     if (app->labeler) {
 	gnome_rr_labeler_hide (app->labeler);
 	g_object_unref (app->labeler);
@@ -150,15 +140,6 @@ on_screen_changed (GnomeRRScreen *scr,
 
     app->labeler = gnome_rr_labeler_new (app->current_configuration);
 
-#if 0
-    for (i = 0; app->current_configuration->outputs[i] != NULL; ++i)
-    {
-	GnomeOutputInfo *o = app->current_configuration->outputs[i];
-
-	g_debug ("  output: %d %d %d %d", o->x, o->y, o->width, o->height);
-    }
-#endif
-
     select_current_output_from_dialog_position (app);
 }
 



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