> Hi, > > "NavEcos" <ecos@xxxxxxxxxxx> writes: > > > Or why doesn't, say, gdk_threads_enter() say with an ASSERT "hey > > stupid: I noticed that g_thread_init() was never called". > > But that's exactly what the code does: > > void > gdk_threads_init () > { > if (!g_thread_supported ()) > g_error ("g_thread_init() must be called before gdk_threads_init()"); Told ya I was stupid. I was only calling g_thread_init(). gtk_thread_lock () should detect that gtk_thread_init() was never called. Something should. I'm upgrading code from 1.2 or so. I never called gtk_thread_init() in that. Was that a bug? Yes or no? That was my original question. > > I don't want to sound like a little brat here since I really like > > GTK and I really appreciate that it's available to me, but I think a > > couple slight modifications would go a long way into making GTK a > > lot easier to use. GtkInitForStupidPeople (bool bEnableThreads) or > > something, where it does everything for you - as a convenience > > function would be great. I know you can use different contexts and > > stuff like that, but the reality is that only a handful of people > > do. Why not make a "duh" interface? Let's face it, I'm just > > totally stupid, and being very dumb, I like simple interfaces. > > Simple interfaces prevent dumb people like me from filling up lists > > with stupid questions like this, and it reduces bugs too. > > That says it all. > > > Sven > _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list