Re: [Vala] g_thread_init() must be called before gdk_threads_init()
- From: Jürg Billeter <j bitron ch>
- To: Thijs Vermeir <thijsvermeir gmail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] g_thread_init() must be called before gdk_threads_init()
- Date: Sun, 18 May 2008 20:29:32 +0200
Hi Thijs,
On Sun, 2008-05-18 at 20:22 +0200, Thijs Vermeir wrote:
But if I execute the application I get this error:
GLIB ERROR ** Gdk - g_thread_init() must be called before gdk_threads_init()
But I can't find how to call g_thread_init ().
How can I solve this problem?
Use valac --thread to build multi-threaded applications, this will take
care of calling g_thread_init ().
Jürg
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]