diff options
Diffstat (limited to 'tests/test-libappindicator.c')
| -rw-r--r-- | tests/test-libappindicator.c | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/tests/test-libappindicator.c b/tests/test-libappindicator.c index 0273398..1a9b80c 100644 --- a/tests/test-libappindicator.c +++ b/tests/test-libappindicator.c @@ -2,11 +2,9 @@ Tests for the libappindicator library. Copyright 2009 Canonical Ltd. -Copyright 2023 Robert Tari Authors: Ted Gould <ted@canonical.com> - Robert Tari <robert@tari.in> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 3, as published @@ -79,28 +77,28 @@ test_libappindicator_prop_signals (void) signaled = FALSE; - app_indicator_set_icon_full (ci, "bob", NULL); + app_indicator_set_icon(ci, "bob"); g_assert(signaled); signaled = FALSE; - app_indicator_set_icon_full (ci, "bob", NULL); + app_indicator_set_icon(ci, "bob"); g_assert(!signaled); signaled = FALSE; - app_indicator_set_icon_full (ci, "al", NULL); + app_indicator_set_icon(ci, "al"); g_assert(signaled); signaled = FALSE; - app_indicator_set_attention_icon_full (ci, "bob", NULL); + app_indicator_set_attention_icon(ci, "bob"); g_assert(signaled); signaled = FALSE; - app_indicator_set_attention_icon_full (ci, "bob", NULL); + app_indicator_set_attention_icon(ci, "bob"); g_assert(!signaled); signaled = FALSE; - app_indicator_set_attention_icon_full (ci, "al", NULL); + app_indicator_set_attention_icon(ci, "al"); g_assert(signaled); @@ -135,7 +133,7 @@ test_libappindicator_init_set_props (void) g_assert(ci != NULL); app_indicator_set_status(ci, APP_INDICATOR_STATUS_ACTIVE); - app_indicator_set_attention_icon_full (ci, "my-attention-name", NULL); + app_indicator_set_attention_icon(ci, "my-attention-name"); app_indicator_set_title(ci, "My Title"); g_assert(!g_strcmp0("my-id", app_indicator_get_id(ci))); @@ -159,7 +157,7 @@ test_libappindicator_init_with_props (void) APP_INDICATOR_CATEGORY_APPLICATION_STATUS); app_indicator_set_status (ci, APP_INDICATOR_STATUS_ACTIVE); - app_indicator_set_attention_icon_full (ci, "my-attention-name", NULL); + app_indicator_set_attention_icon (ci, "my-attention-name"); g_assert(ci != NULL); |
