[gnome-control-center] display: Remove redundant statement and variable definition



commit 50b0383913e32427df48852e2ee2cae09100aee4
Author: Debarshi Ray <debarshir gnome org>
Date:   Tue Mar 25 18:08:47 2014 +0100

    display: Remove redundant statement and variable definition
    
    https://bugzilla.gnome.org/show_bug.cgi?id=727023

 panels/display/cc-display-panel.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/panels/display/cc-display-panel.c b/panels/display/cc-display-panel.c
index 654badf..5a41d80 100644
--- a/panels/display/cc-display-panel.c
+++ b/panels/display/cc-display-panel.c
@@ -2174,7 +2174,6 @@ show_setup_dialog (CcDisplayPanel *panel)
   response = gtk_dialog_run (GTK_DIALOG (priv->dialog));
   if (response == GTK_RESPONSE_ACCEPT)
     {
-      GnomeRROutputInfo **outputs;
       GtkListBoxRow *row;
       GnomeRRRotation rotation;
       gboolean active = TRUE;
@@ -2183,8 +2182,6 @@ show_setup_dialog (CcDisplayPanel *panel)
         {
           gint new_width, new_height;
 
-          outputs = gnome_rr_config_get_outputs (priv->current_configuration);
-
           gnome_rr_output_info_get_geometry (priv->current_output, NULL, NULL,
                                              &new_width, &new_height);
 


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