aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-09-08 11:16:29 -0500
committerCharles Kerr <charles.kerr@canonical.com>2014-09-08 11:16:29 -0500
commitb2d6637b66e5293d67dc34d75b50dea3baf6db07 (patch)
tree5c1ca68665c40c09c76f9f1c31d1da6b6f41f7f9
parent84265a5fcd07fc494739e93fb2430b927ed5b2df (diff)
downloadayatana-indicator-power-b2d6637b66e5293d67dc34d75b50dea3baf6db07.tar.gz
ayatana-indicator-power-b2d6637b66e5293d67dc34d75b50dea3baf6db07.tar.bz2
ayatana-indicator-power-b2d6637b66e5293d67dc34d75b50dea3baf6db07.zip
fix typo introduced while trying to fix clang -Weverything warnings
-rw-r--r--tests/test-device.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-device.cc b/tests/test-device.cc
index aa46b40..fbeb1c0 100644
--- a/tests/test-device.cc
+++ b/tests/test-device.cc
@@ -209,7 +209,7 @@ TEST_F(DeviceTest, NewFromVariant)
"/object/path",
guint32(UP_DEVICE_KIND_BATTERY),
"icon",
- 50,0,
+ 50.0,
guint32(UP_DEVICE_STATE_CHARGING),
guint64(30));
IndicatorPowerDevice * device = indicator_power_device_new_from_variant (variant);