[gnome-control-center/wip/benzea/display: 17/20] display: Remove incorrect comment
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/benzea/display: 17/20] display: Remove incorrect comment
- Date: Tue, 15 May 2018 22:28:18 +0000 (UTC)
commit 84538f0e64fe4aab44d7bb599a21dfc4140cb303
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]