mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +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 *
|
||||
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