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
_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to