[gnome-control-center/wip/benzea/display: 5/7] display: Remove incorrect comment



commit e9be8b5535be50bb1649cb6d47180b4a20b02d93
Author: Benjamin Berg <bberg redhat com>
Date:   Fri Dec 8 15:52:57 2017 +0000

    display: Remove incorrect comment
    
    The comment was not updated when the workaround in the code was removed.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=786971

 panels/display/cc-display-panel.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/panels/display/cc-display-panel.c b/panels/display/cc-display-panel.c
index 73dac3c..d1159a5 100644
--- a/panels/display/cc-display-panel.c
+++ b/panels/display/cc-display-panel.c
@@ -2489,12 +2489,6 @@ cc_display_panel_init (CcDisplayPanel *self)
   self->priv->up_client = up_client_new ();
   if (up_client_get_lid_is_present (self->priv->up_client))
     {
-      /* Connect to the "changed" signal to track changes to "lid-is-closed"
-       * property. Connecting to "notify::lid-is-closed" would be preferable,
-       * but currently doesn't work as expected:
-       * https://bugs.freedesktop.org/show_bug.cgi?id=43001
-       */
-
       g_signal_connect (self->priv->up_client, "notify::lid-is-closed",
                         G_CALLBACK (cc_display_panel_up_client_changed), self);
       cc_display_panel_up_client_changed (self->priv->up_client, NULL, self);


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