[gnome-control-center/wip/benzea/display: 5/6] display: Remove	incorrect comment
- From: Benjamin Berg <bberg src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [gnome-control-center/wip/benzea/display: 5/6] display: Remove	incorrect comment
 
- Date: Thu,  1 Feb 2018 14:52:13 +0000 (UTC)
 
commit ce1912c06ede8846febf2dc2323d2929a90a4141
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 ed7ba9c..9e47498 100644
--- a/panels/display/cc-display-panel.c
+++ b/panels/display/cc-display-panel.c
@@ -2491,12 +2491,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]