diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-02-09 22:37:18 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-02-09 23:13:13 -0500 |
commit | a8db322be6e99e4407ecfb05d45ac16725668b96 (patch) | |
tree | f0da599fb7f3397c5601f3eb524d69a8615f64fd /testsuite | |
parent | 4dd780a96b1d37903ab88a4ae4536329cd9e164e (diff) | |
download | gtk+-a8db322be6e99e4407ecfb05d45ac16725668b96.tar.gz |
Drop gtk_get_main_thread
This is not a very useful api, and if you need it,
you can just as easily keep track yourself which thread
called gtk_init().
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/gtk/main.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/testsuite/gtk/main.c b/testsuite/gtk/main.c index cdfd4d058d..3487d3ed8b 100644 --- a/testsuite/gtk/main.c +++ b/testsuite/gtk/main.c @@ -4,15 +4,9 @@ static void test_init (void) { - GThread *self = g_thread_self (); - g_assert (gtk_is_initialized () == FALSE); - g_assert (gtk_get_main_thread () == NULL); - g_assert (gtk_init_check ()); g_assert (gtk_is_initialized () == TRUE); - - g_assert (gtk_get_main_thread () == self); } int |