display: Remove redundant statement and variable definition

https://bugzilla.gnome.org/show_bug.cgi?id=727023
This commit is contained in:
Debarshi Ray 2014-03-25 18:08:47 +01:00
parent 63bf6aaf4b
commit 50b0383913

View file

@ -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);