[gnome-control-center/gnome-3-20] display: remove unused code
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/gnome-3-20] display: remove unused code
- Date: Wed, 11 May 2016 10:26:15 +0000 (UTC)
commit 9ae8eb930c659f03a738cddbb21d22c708f56feb
Author: Cosimo Cecchi <cosimo endlessm com>
Date: Mon Mar 28 17:30:10 2016 -0700
display: remove unused code
https://bugzilla.gnome.org/show_bug.cgi?id=764296
panels/display/cc-display-panel.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/panels/display/cc-display-panel.c b/panels/display/cc-display-panel.c
index 93d701a..b6d104a 100644
--- a/panels/display/cc-display-panel.c
+++ b/panels/display/cc-display-panel.c
@@ -479,7 +479,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;
@@ -523,9 +523,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++;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]