summaryrefslogtreecommitdiff
path: root/gthread/gthread-impl.c
diff options
context:
space:
mode:
Diffstat (limited to 'gthread/gthread-impl.c')
-rw-r--r--gthread/gthread-impl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gthread/gthread-impl.c b/gthread/gthread-impl.c
index c7f61a37f..fd03b1d68 100644
--- a/gthread/gthread-impl.c
+++ b/gthread/gthread-impl.c
@@ -36,9 +36,13 @@
void
g_thread_init (gpointer init)
{
+ if (init != NULL)
+ g_warning ("GThread system no longer supports custom thread implementations.");
}
void
g_thread_init_with_errorcheck_mutexes (gpointer vtable)
{
+ g_assert (vtable == NULL);
+ g_warning ("GThread system no longer supports errorcheck mutexes.");
}