mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2026-02-01 05:40:26 +01:00
bugfix: correctly set the power-supply property as pointed out by David Zeuthen
This commit is contained in:
parent
43af3e9dbc
commit
d386ba2dec
1 changed files with 1 additions and 1 deletions
|
|
@ -741,7 +741,7 @@ dkp_device_class_init (DkpDeviceClass *klass)
|
|||
g_param_spec_string ("type", NULL, NULL, NULL, G_PARAM_READABLE));
|
||||
g_object_class_install_property (
|
||||
object_class,
|
||||
PROP_BATTERY_IS_PRESENT,
|
||||
PROP_BATTERY_POWER_SUPPLY,
|
||||
g_param_spec_boolean ("power-supply", NULL, NULL, FALSE, G_PARAM_READABLE));
|
||||
g_object_class_install_property (
|
||||
object_class,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue