From 5de104cbd5f9f3e962543490f3f3e919214f6fd9 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 6 Dec 2017 12:33:52 +0100 Subject: tests/test-device.cc: Fix failing tests after we have renamed DG_LOG_DOMAIN. --- tests/test-device.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/test-device.cc b/tests/test-device.cc index bbe4f31..bdc29d1 100644 --- a/tests/test-device.cc +++ b/tests/test-device.cc @@ -53,7 +53,7 @@ class DeviceTest : public ::testing::Test virtual void SetUp() { const GLogLevelFlags flags = GLogLevelFlags(G_LOG_LEVEL_CRITICAL|G_LOG_LEVEL_WARNING); - log_handler_id = g_log_set_handler ("Ayatana-Indicator-Power", flags, log_count_func, this); + log_handler_id = g_log_set_handler ("ayatana-indicator-power", flags, log_count_func, this); log_count_ipower_expected = 0; log_count_ipower_actual = 0; } @@ -61,7 +61,7 @@ class DeviceTest : public ::testing::Test virtual void TearDown() { ASSERT_EQ (log_count_ipower_expected, log_count_ipower_actual); - g_log_remove_handler ("Ayatana-Indicator-Power", log_handler_id); + g_log_remove_handler ("ayatana-indicator-power", log_handler_id); } protected: -- cgit v1.2.3