summaryrefslogtreecommitdiff
path: root/testsuite/gtk/bitset.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-04-12 21:22:04 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-04-12 21:22:46 -0400
commitf98353c20b84695655fb988b83f18d730c041dbd (patch)
treeb7fb4ef49e34477e2022e3a043c8107d83e323cc /testsuite/gtk/bitset.c
parent13ece4ee9bd5caf1c32d7b225c1dabae04735050 (diff)
downloadgtk+-f98353c20b84695655fb988b83f18d730c041dbd.tar.gz
Force g_test_init to cooperate
Change all g_test_init calls in the testsuite to avoid the macro, so they work regardless of G_DISABLE_ASSERT.
Diffstat (limited to 'testsuite/gtk/bitset.c')
-rw-r--r--testsuite/gtk/bitset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/gtk/bitset.c b/testsuite/gtk/bitset.c
index 2c01912317..655d95b110 100644
--- a/testsuite/gtk/bitset.c
+++ b/testsuite/gtk/bitset.c
@@ -561,7 +561,7 @@ test_splice_overflow (void)
int
main (int argc, char *argv[])
{
- g_test_init (&argc, &argv, NULL);
+ (g_test_init) (&argc, &argv, NULL);
setlocale (LC_ALL, "C");
g_test_add_func ("/bitset/is_empty", test_is_empty);