From: Matthias Clasen Date: Sat, 20 May 2023 11:39:21 +0000 (-0400) Subject: Cosmetics X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~1^2~237^2~6 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=43a22bb3507ca9069ca3c3accd912ae39c744384;p=gtk4.git Cosmetics Use the proper g_assert variant. --- diff --git a/testsuite/gtk/listitemmanager.c b/testsuite/gtk/listitemmanager.c index ba5fbd54ba..d572f41404 100644 --- a/testsuite/gtk/listitemmanager.c +++ b/testsuite/gtk/listitemmanager.c @@ -123,7 +123,7 @@ check_list_item_manager (GtkListItemManager *items, case GTK_LIST_TILE_UNMATCHED_HEADER: g_assert_cmpint (section_state, ==, NO_SECTION); g_assert_cmpint (tile->n_items, ==, 0); - g_assert_false (tile->widget); + g_assert_null (tile->widget); section_state = UNMATCHED_SECTION; break; @@ -131,14 +131,14 @@ check_list_item_manager (GtkListItemManager *items, g_assert_cmpint (section_state, ==, MATCHED_SECTION); g_assert_cmpint (tile->n_items, ==, 0); g_assert_true (has_sections); - g_assert_false (tile->widget); + g_assert_null (tile->widget); section_state = NO_SECTION; break; case GTK_LIST_TILE_UNMATCHED_FOOTER: g_assert_cmpint (section_state, ==, UNMATCHED_SECTION); g_assert_cmpint (tile->n_items, ==, 0); - g_assert_false (tile->widget); + g_assert_null (tile->widget); section_state = NO_SECTION; break; @@ -167,7 +167,7 @@ check_list_item_manager (GtkListItemManager *items, case GTK_LIST_TILE_REMOVED: g_assert_cmpint (tile->n_items, ==, 0); - g_assert_false (tile->widget); + g_assert_null (tile->widget); break; default: