X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=libchimara%2Fchimara-glk.c;h=1d31b273f629f8e5a4e12ecb1a8842e765d9f232;hb=9ea4cd9de21f34e85b860ebc652ad5ce1aeaf3dd;hp=793c6e8fbf15f018959ab1fa5d0893cacd235dc2;hpb=94d1ecd9f71ed033a7905bcc142c5173d44ae9eb;p=projects%2Fchimara%2Fchimara.git diff --git a/libchimara/chimara-glk.c b/libchimara/chimara-glk.c index 793c6e8..1d31b27 100644 --- a/libchimara/chimara-glk.c +++ b/libchimara/chimara-glk.c @@ -1189,8 +1189,8 @@ glk_main() runs. Takes ownership of @startup and will free it. */ static gpointer glk_enter(struct StartupData *startup) { - extern GPrivate *glk_data_key; - g_private_set(glk_data_key, startup->glk_data); + extern GPrivate glk_data_key; + g_private_set(&glk_data_key, startup->glk_data); /* Acquire the Glk thread's references to the input queues */ g_async_queue_ref(startup->glk_data->char_input_queue);