[gnome-control-center] Revert "display: Update for libupower-glib API changes"
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] Revert "display: Update for libupower-glib API changes"
- Date: Mon, 17 Feb 2014 18:54:34 +0000 (UTC)
commit f5b6fac3769894cb859e3bbe03dba1bd3b8339e6
Author: Debarshi Ray <debarshir gnome org>
Date: Thu Nov 14 11:59:16 2013 +0100
Revert "display: Update for libupower-glib API changes"
This reverts commit 8ba50267bed318cae35a40cd20f3067856e7c93b.
panels/display/cc-display-panel.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/panels/display/cc-display-panel.c b/panels/display/cc-display-panel.c
index d64b17f..e0b9566 100644
--- a/panels/display/cc-display-panel.c
+++ b/panels/display/cc-display-panel.c
@@ -2326,7 +2326,6 @@ mapped_cb (CcDisplayPanel *panel)
static void
cc_display_panel_up_client_changed (UpClient *client,
- GParamSpec *pspec,
CcDisplayPanel *self)
{
CcDisplayPanelPrivate *priv = self->priv;
@@ -2418,9 +2417,9 @@ cc_display_panel_init (CcDisplayPanel *self)
* https://bugs.freedesktop.org/show_bug.cgi?id=43001
*/
- g_signal_connect (self->priv->up_client, "notify::lid-is-closed",
+ g_signal_connect (self->priv->up_client, "changed",
G_CALLBACK (cc_display_panel_up_client_changed), self);
- cc_display_panel_up_client_changed (self->priv->up_client, NULL, self);
+ cc_display_panel_up_client_changed (self->priv->up_client, self);
}
else
g_clear_object (&self->priv->up_client);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]