aboutsummaryrefslogtreecommitdiff
path: root/tests/test-indicator.cc
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-05-24 11:32:16 -0500
committerCharles Kerr <charles.kerr@canonical.com>2012-05-24 11:32:16 -0500
commitf18b60b0ce389bee7fc4784b6714f28567397b42 (patch)
tree67881e9a716a91db6d2fe59ef35cb0e58904a0cd /tests/test-indicator.cc
parent4f74252ce9a8ae3e651cc9e61dc280da82f12d9b (diff)
downloadayatana-indicator-power-f18b60b0ce389bee7fc4784b6714f28567397b42.tar.gz
ayatana-indicator-power-f18b60b0ce389bee7fc4784b6714f28567397b42.tar.bz2
ayatana-indicator-power-f18b60b0ce389bee7fc4784b6714f28567397b42.zip
remove the g_clear_pointer() calls s.t. things will build and run on alesage's Jenkins setup running Precise
Diffstat (limited to 'tests/test-indicator.cc')
-rw-r--r--tests/test-indicator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-indicator.cc b/tests/test-indicator.cc
index 2f16176..e3533e9 100644
--- a/tests/test-indicator.cc
+++ b/tests/test-indicator.cc
@@ -47,6 +47,6 @@ TEST(IndicatorTest, GObjectNew)
GObject * o = G_OBJECT (g_object_new (INDICATOR_POWER_TYPE, NULL));
ASSERT_TRUE (o != NULL);
ASSERT_TRUE (IS_INDICATOR_POWER(o));
- g_clear_pointer (&o, g_object_unref);
+ g_object_unref (o);
}