summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-02-09 22:37:18 -0500
committerMatthias Clasen <mclasen@redhat.com>2020-02-09 23:13:13 -0500
commita8db322be6e99e4407ecfb05d45ac16725668b96 (patch)
treef0da599fb7f3397c5601f3eb524d69a8615f64fd /testsuite
parent4dd780a96b1d37903ab88a4ae4536329cd9e164e (diff)
downloadgtk+-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.c6
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