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



commit 8c63292e4e2cef727632e22244db9d0536cfa487
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 e6c587a..a2ae3b4 100644
--- a/panels/display/cc-display-panel.c
+++ b/panels/display/cc-display-panel.c
@@ -2490,12 +2490,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]