[sysprof] battery: fix battery type in new func
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof] battery: fix battery type in new func
- Date: Fri, 14 Jun 2019 03:23:14 +0000 (UTC)
commit c46ac1374bf7284c94ccb00f9c79c892b385e96a
Author: Christian Hergert <chergert redhat com>
Date: Thu Jun 13 20:23:03 2019 -0700
battery: fix battery type in new func
src/libsysprof/sysprof-battery-source.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libsysprof/sysprof-battery-source.c b/src/libsysprof/sysprof-battery-source.c
index dbc77e2..39dc9e0 100644
--- a/src/libsysprof/sysprof-battery-source.c
+++ b/src/libsysprof/sysprof-battery-source.c
@@ -311,5 +311,5 @@ sysprof_battery_source_init (SysprofBatterySource *self)
SysprofSource *
sysprof_battery_source_new (void)
{
- return g_object_new (SYSPROF_TYPE_SOURCE, NULL);
+ return g_object_new (SYSPROF_TYPE_BATTERY_SOURCE, NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]