aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-12-06 12:33:52 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-12-06 12:33:52 +0100
commit5de104cbd5f9f3e962543490f3f3e919214f6fd9 (patch)
tree815f19aa1c03a4207f1af5149669287e0b6c1147
parent3cf825f6786d979ea2ab94c43f7b036c02d6fbc5 (diff)
downloadayatana-indicator-power-5de104cbd5f9f3e962543490f3f3e919214f6fd9.tar.gz
ayatana-indicator-power-5de104cbd5f9f3e962543490f3f3e919214f6fd9.tar.bz2
ayatana-indicator-power-5de104cbd5f9f3e962543490f3f3e919214f6fd9.zip
tests/test-device.cc: Fix failing tests after we have renamed DG_LOG_DOMAIN.
-rw-r--r--tests/test-device.cc4
1 files changed, 2 insertions, 2 deletions
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: