diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-11-10 11:38:30 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-11-10 11:38:30 +0100 |
commit | 47feef09024f8ab76985d118637e14454a46c71e (patch) | |
tree | a550ccc548f92f73b0bc6f8ffb8db1215dd9e4f3 /tests | |
parent | 2b2ee5a8610f20e51509a709a114826219051b2e (diff) | |
parent | 1b8c12e2f7f6bda8efa3c632f789521cdcf82fd0 (diff) | |
download | ayatana-indicator-power-47feef09024f8ab76985d118637e14454a46c71e.tar.gz ayatana-indicator-power-47feef09024f8ab76985d118637e14454a46c71e.tar.bz2 ayatana-indicator-power-47feef09024f8ab76985d118637e14454a46c71e.zip |
Merge branch 'tari01-pr/fix-theming'
Attributes GH PR #65: https://github.com/AyatanaIndicators/ayatana-indicator-power/pull/65
Diffstat (limited to 'tests')
-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 474fa36..fd787ee 100644 --- a/tests/test-device.cc +++ b/tests/test-device.cc @@ -71,7 +71,7 @@ class DeviceTest : public ::testing::Test static std::string get_icon_names_from_device(const IndicatorPowerDevice* device) { std::string ret; - char ** names = indicator_power_device_get_icon_names (device); + char ** names = indicator_power_device_get_icon_names (device, TRUE); char * str = g_strjoinv (";", names); if (str != nullptr) ret = str; @@ -282,7 +282,7 @@ TEST_F(DeviceTest, IconNames) // bad arguments log_count_ipower_expected++; - ASSERT_TRUE (indicator_power_device_get_icon_names (NULL) == NULL); + ASSERT_TRUE (indicator_power_device_get_icon_names (NULL, TRUE) == NULL); // power g_object_set (o, INDICATOR_POWER_DEVICE_KIND, UP_DEVICE_KIND_LINE_POWER, |