Hi Abderrahim, Yes i tried with a ?, it build but i got a segmentation fault ! I'll try to find another solution.
Thanks, Nicolas.
Because vala doesn't support double in generics (the error you got). Not sure if it would help, but did you try its suggestion to use 'double?' instead? This is an implementation detail but int is easier because of G_[U]INT_{TO,FROM}_POINTER which can be used to convert from int to pointer and back. (and no such thing exist for floats). anyway, since double is a value type, double? it may work. HTH, Abderrahim
_______________________________________________ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list