mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
battery: fix battery type in new func
This commit is contained in:
@ -311,5 +311,5 @@ sysprof_battery_source_init (SysprofBatterySource *self)
|
|||||||
SysprofSource *
|
SysprofSource *
|
||||||
sysprof_battery_source_new (void)
|
sysprof_battery_source_new (void)
|
||||||
{
|
{
|
||||||
return g_object_new (SYSPROF_TYPE_SOURCE, NULL);
|
return g_object_new (SYSPROF_TYPE_BATTERY_SOURCE, NULL);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user