diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-11-12 08:40:14 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-11-12 08:16:04 +0000 |
commit | 0f33bc4be7e9dffaa6b68cd758c3c531460c9a2f (patch) | |
tree | 4af026cbc883daf53fb57056fe5d14fbe3c618d2 /tests/test-device.cc | |
parent | 511915f11b83c0b0327b9ed393e5bc2ff3b828a0 (diff) | |
download | ayatana-indicator-power-0f33bc4be7e9dffaa6b68cd758c3c531460c9a2f.tar.gz ayatana-indicator-power-0f33bc4be7e9dffaa6b68cd758c3c531460c9a2f.tar.bz2 ayatana-indicator-power-0f33bc4be7e9dffaa6b68cd758c3c531460c9a2f.zip |
Fork from Ubuntu's indicator-power code project.
Diffstat (limited to 'tests/test-device.cc')
-rw-r--r-- | tests/test-device.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-device.cc b/tests/test-device.cc index e929f89..5ee9f1e 100644 --- a/tests/test-device.cc +++ b/tests/test-device.cc @@ -48,7 +48,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 ("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; } @@ -56,7 +56,7 @@ class DeviceTest : public ::testing::Test virtual void TearDown() { ASSERT_EQ (log_count_ipower_expected, log_count_ipower_actual); - g_log_remove_handler ("Indicator-Power", log_handler_id); + g_log_remove_handler ("Ayatana-Indicator-Power", log_handler_id); } protected: |