display: remove unused code
https://bugzilla.gnome.org/show_bug.cgi?id=764296
This commit is contained in:
parent
e070e819ca
commit
cc5c94f151
1 changed files with 1 additions and 4 deletions
|
@ -480,7 +480,7 @@ on_screen_changed (CcDisplayPanel *panel)
|
|||
GnomeRRConfig *current;
|
||||
CcDisplayPanelPrivate *priv = panel->priv;
|
||||
GnomeRROutputInfo **outputs;
|
||||
gint i, num_active_outputs = 0, num_connected_outputs = 0, number = 0;
|
||||
gint i, num_connected_outputs = 0, number = 0;
|
||||
gboolean clone, combined = FALSE;
|
||||
GtkSizeGroup *sizegroup;
|
||||
GList *sorted_outputs = NULL, *l;
|
||||
|
@ -524,9 +524,6 @@ on_screen_changed (CcDisplayPanel *panel)
|
|||
else
|
||||
sorted_outputs = g_list_append (sorted_outputs, outputs[i]);
|
||||
|
||||
|
||||
if (gnome_rr_output_info_is_active (outputs[i]))
|
||||
num_active_outputs++;
|
||||
num_connected_outputs++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue