Re: [Vala] GLib.Thread.init() doesn't exist in 0.5.3



On Thu, 2008-12-18 at 11:03 +0000, Frédéric Gaudy wrote:
Hello,

I've installed vala 0.5.3 and compiled my program but I've got this
error message :

error: The name `init' does not exist in the context of `GLib.Thread'

for this line : 

Thread.init();


With 0.5.2 it compiled fine, so is it an api change or a bug?

You should never call it manually as it should be the first GLib
function you call, use valac --thread to insert it automatically, also
works with older Vala versions.

Jürg





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]