aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test-indicator.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-indicator.cc b/tests/test-indicator.cc
index 3e9d97b..c3f502a 100644
--- a/tests/test-indicator.cc
+++ b/tests/test-indicator.cc
@@ -72,8 +72,8 @@ class IndicatorTest : public ::testing::Test
virtual void TearDown()
{
- g_clear_object (&battery_device);
- g_clear_object (&ac_device);
+ g_object_unref (battery_device);
+ g_object_unref (ac_device);
}
};