[Vala] g_thread_init() must be called before gdk_threads_init()
- From: "Thijs Vermeir" <thijsvermeir gmail com>
- To: vala-list gnome org
- Subject: [Vala] g_thread_init() must be called before gdk_threads_init()
- Date: Sun, 18 May 2008 20:22:00 +0200
Hello,
I'm trying to write an application with a FileChooserDialog and that
needs the gdk_threads_init...
So I added in my code something like this:
...
static int main (string[] args) {
Gtk.init (ref args);
Gdk.threads_init ();
...
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?
Gr,
Thijs
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]