From 0a1de62141772e44813a39a36f659d49a54c2e4b Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 10 Jun 2026 09:39:27 +0200 Subject: Revert "Explicitly mark deprecated functions and use substitutes" This reverts commit aec1741226036036b2498f7b664221e649b4ff81. --- tests/test-libappindicator.c | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'tests/test-libappindicator.c') 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 - Robert Tari 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); -- cgit v1.2.3