[gnome-settings-daemon/benzea/minor-fix-collection: 14/19] power: Fix parent element of the manager object struct
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/benzea/minor-fix-collection: 14/19] power: Fix parent element of the manager object struct
- Date: Mon, 15 Apr 2019 16:01:50 +0000 (UTC)
commit 82cd4fc1ec5caad59339d36d6aa1ba093942d504
Author: Benjamin Berg <bberg redhat com>
Date: Mon Mar 25 11:08:45 2019 +0100
power: Fix parent element of the manager object struct
This is a regression that was introduced when moving to
G_DECLARE_FINAL_TYPE. This was a typo that only happened for
GsdPowerManager, and the other migrated classes are fine.
plugins/power/gsd-power-manager.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/power/gsd-power-manager.c b/plugins/power/gsd-power-manager.c
index 2701751a..9c97bd62 100644
--- a/plugins/power/gsd-power-manager.c
+++ b/plugins/power/gsd-power-manager.c
@@ -128,7 +128,7 @@ typedef enum {
struct _GsdPowerManager
{
- GObject *parent;
+ GObject parent;
/* D-Bus */
GsdSessionManager *session;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]