summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2009-02-05 10:05:31 +0000
committerRichard Hughes <richard@hughsie.com>2009-02-05 10:05:31 +0000
commitd386ba2dec26868c995e292dd58481bceaf1da25 (patch)
tree2ceef43b28b17f1ebf85aed0e645af63d4ee4479 /src
parent43af3e9dbca9ebfec395a84d97d796729230dff3 (diff)
bugfix: correctly set the power-supply property as pointed out by David Zeuthen
Diffstat (limited to 'src')
-rw-r--r--src/dkp-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dkp-device.c b/src/dkp-device.c
index 4a92f1d..8592e7e 100644
--- a/src/dkp-device.c
+++ b/src/dkp-device.c
@@ -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,