[gnome-settings-daemon/benzea/minor-fix-collection: 4/9] power: Fix parent element of the manager object struct
- From: Benjamin Berg <bberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/benzea/minor-fix-collection: 4/9] power: Fix parent element of the manager object struct
- Date: Mon, 15 Apr 2019 16:23:48 +0000 (UTC)
commit c64c243e345cb92ed0c197a377767bcbf1704c1b
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]