Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
gnome-control-center.1520
gnome-control-center-upower-changed-signal.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnome-control-center-upower-changed-signal.patch of Package gnome-control-center.1520
From 8ba50267bed318cae35a40cd20f3067856e7c93b Mon Sep 17 00:00:00 2001 From: Bastien Nocera <hadess@hadess.net> Date: Wed, 30 Oct 2013 12:03:33 +0100 Subject: [PATCH] display: Update for libupower-glib API changes There's no "changed" signal anymore. --- panels/display/cc-display-panel.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/panels/display/cc-display-panel.c b/panels/display/cc-display-panel.c index f170d51..775b48d 100644 --- a/panels/display/cc-display-panel.c +++ b/panels/display/cc-display-panel.c @@ -2261,6 +2261,7 @@ mapped_cb (CcDisplayPanel *panel) static void cc_display_panel_up_client_changed (UpClient *client, + GParamSpec *pspec, CcDisplayPanel *self) { CcDisplayPanelPrivate *priv = self->priv; @@ -2352,9 +2353,9 @@ cc_display_panel_init (CcDisplayPanel *self) * https://bugs.freedesktop.org/show_bug.cgi?id=43001 */ - g_signal_connect (self->priv->up_client, "changed", + 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, self); + cc_display_panel_up_client_changed (self->priv->up_client, NULL, self); } else g_clear_object (&self->priv->up_client); -- 1.8.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor