[gnome-control-center/wip/benzea/display: 27/30] display: Remove incorrect comment



commit afb41791de8410bcfff021988de20e06584cead8
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 file changed, 6 deletions(-)
---
diff --git a/panels/display/cc-display-panel.c b/panels/display/cc-display-panel.c
index 37b71abfa..8603675d0 100644
--- a/panels/display/cc-display-panel.c
+++ b/panels/display/cc-display-panel.c
@@ -2505,12 +2505,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]